// Compile this with: // g++ -g -shared -o libtest36-leaf-v1.so test36-leaf-v1.cc struct leaf1 { int m0; char m1; }; // end struct leaf1 struct leaf2 { leaf1 member0; char member1; }; // end struct leaf2 struct struct_type { leaf2* m0; }; void interface1(struct_type*) {} void interface2(struct_type&) {} void interface3(struct_type**) {}