OSDN Git Service

cp:
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / warn / pedantic2.C
1 // { dg-options "-pedantic" }
2
3 class foo
4 {
5   foo() {};
6   void bar() {};
7
8   foo(int) {};;  // { dg-error "extra" }
9   void bar(int) {};;  // { dg-error "extra" }
10 };