/* foo */ code c : includes { #include "foo.h" } 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--; } } [link = Test, nick = snd] class Second : Test { void test.dec() { me->test.x -= 3; } }