1 // Compile with: 2 // gcc -gctf -shared -o libobj-v0.so obj-v0.c 3 4 struct S0 5 { 6 int mem0; 7 char mem1; 8 }; 9 10 struct S1 11 { 12 int mem2; 13 }; 14 15 void bar(struct S0 * s)16 bar(struct S0 *s) 17 {} 18 19 void foo(struct S1 * s)20 foo(struct S1 *s) 21 {} 22