1 // Compile this file with: 2 // g++ -g -Wall -shared -Wl,-soname=libtest24-soname -o libtest24-soname-v0.so test24-soname-v0.cc 3 4 struct S 5 { 6 int m0; 7 8 int get() const; 9 void set(int); 10 }; 11 12 int get() const13S::get() const 14 {return m0;} 15 16 void set(int m)17S::set(int m) 18 {m0 = m;} 19 20 void foo(S &)21foo(S&) 22 { 23 } 24