Debian Codegraph @

gcc/testsuite/g++.dg/warn/pedantic2.C

raw
1 // { dg-options "-pedantic" }
2
3 class foo
4 {
5 foo() {};
6 void bar() {};
7
8 foo(int) {};; // { dg-warning "extra" "" { target c++98_only } }
9 void bar(int) {};; // { dg-warning "extra" "" { target c++98_only } }
10 };