%description: Check struct as class member in non-cOwnedObject rooted classes %file: test.msg namespace @TESTNAME@; struct MyStruct { int bb; } class MyClass { MyStruct b; char c; }; %includes: #include "test_m.h" %activity: #define PRINT(X) EV << #X << ":" << X << endl MyClass x; x.getBForUpdate().bb=11; PRINT(x.getB().bb); x.setC('x'); PRINT(x.getC()); %contains: stdout x.getB().bb:11 x.getC():x