Merged with mainline at revision 128810.
[official-gcc.git] / gcc / testsuite / g++.dg / warn / pedantic2.C
blob5a9bf1d3925230a369934ce2b7537d46c1526338
1 // { dg-options "-pedantic" }
3 class foo
5   foo() {};
6   void bar() {};
8   foo(int) {};;  // { dg-error "extra" }
9   void bar(int) {};;  // { dg-error "extra" }