• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Compile this file with:
2 //   g++ -g -Wall -shared -Wl,-soname=libtest24-soname -o libtest24-soname-v1.so test24-soname-v1.cc
3 
4 struct S
5 {
6   int	m0;
7   char	m1;
8 
9   int get() const;
10   void set(int);
11 };
12 
13 int
get() const14 S::get() const
15 {return m0;}
16 
17 void
set(int m)18 S::set(int m)
19 {m0 = m;}
20 
21 void
foo(S &)22 foo(S&)
23 {
24 }
25