Test identity operation on class references

This commit is contained in:
Seth R Johnson 2022-02-12 18:44:43 -05:00
commit 266766d7c7

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; }
%}
%{