// Compile this file with:
// g++ -g -Wall -shared -Wl,-soname=libtest24-soname -o libtest24-soname-v0.so test24-soname-v0.cc
struct S
{
int m0;
int get() const;
void set(int);
};
int
S::get() const
{return m0;}
void
S::set(int m)
{m0 = m;}
foo(S&)
}