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