You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
282 B

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