☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
warn
/
pedantic2.C
☽
☼
gcc/testsuite/g++.dg/warn/pedantic2.C
code
plain
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
};