☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
diagnostic
/
no-type-2.C
☽
☼
gcc/testsuite/g++.dg/diagnostic/no-type-2.C
code
plain
raw
1
// { dg-options "-w" }
2
3
foo() {} // { dg-error "1:ISO C\\+\\+ forbids declaration" }