1 #include "test-moo-sub1.h" 2 3 /* Define a subclass. */ 4 struct sub2 : struct sub1 5 { 6 int indent; 7 methods: 8 void begin_indent (sub2_t x); 9 void end_indent (sub2_t x); 10 }; 11