Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
diagnostic
/
no-type-2.C
blob: 8a7c62793c24226edc817afcc23b60b4cefdfc0e [
file
] [
log
] [
blame
]
// { dg-options "-w" }
foo
()
{}
// { dg-error "1:ISO C\\+\\+ forbids declaration" }