Test identity operation on class references

This commit is contained in:
Seth R Johnson 2022-02-12 18:44:43 -05:00
parent 0da8a9bb44
commit 266766d7c7
1 changed files with 3 additions and 0 deletions

View File

@ -45,6 +45,9 @@ class FooSubSub : public FooSub {
const char* __str__() const { return "FooSubSub"; }
};
Foo& get_reference(Foo& other) { return other; }
const Foo& get_const_reference(const Foo& other) { return other; }
%}
%{