pr70100.c: Add -mvsx.
[official-gcc.git] / gcc / testsuite / g++.dg / diagnostic / out-of-class-redeclaration.C
blob9dba8eb47a423f443fd877d1c94c65f7217b8a84
1 // Adapted from g++.old-deja/g++.law/arm8.C
3 struct K {
4   void f(int);
5 };
7 void K::f(int);  // { dg-error "6:declaration of .void K::f\\(int\\). outside of class" }
9 struct L {
10   void g(int) {}
13 void L::g(int);  // { dg-error "6:declaration of .void L::g\\(int\\). outside of class" }