/* foo */
-code header : include {
+code c : includes {
#include "foo.h"
}
-lisp (format t "hello, world!~%");
-demo "found foo ok";
+
+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; }
+}