+
+code h : includes {
+#include "sod.h"
+}
+
+//[link = SodObject]
+class Test : SodObject {
+ int x = 0;
+
+ int cur() { return me->test.x; }
+ void inc() { me->test.x++; }
+ void dec() { me->test.x--; }
+}
+
+[nick = snd]
+class Second : Test {
+ void test.dec() { Test *t = SECOND__CONV_TEST(me); t->test.x -= 3; }
+}