1 // Compile with: 2 // g++ -g -Wall -c test27-local-base-diff-v1.cc 3 struct base 4 { 5 int m0; 6 char m1; 7 }; 8 9 struct S : public base 10 { 11 int m0; 12 }; 13 14 void bar(base &)15 bar(base&) 16 {} 17 18 void foo(S *)19 foo(S*) 20 { 21 } 22