1 // To compile this: 2 // g++ -g -Wall -shared -o libtest12-add-data-member-v1.so test12-add-data-member-v1.cc 3 struct S 4 { 5 char m0; 6 char m_inserted1; 7 int m1; 8 char m_inserted2; 9 }; 10 11 int foo(S * s)12 foo(S* s) 13 {return !!s;} 14