Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
namespace-definition.C
blob: b7d4034cd7b2d548e0363028d839b1e66332b1c0 [
file
] [
log
] [
blame
]
// PR 30891
// { dg-do compile }
int
main
()
{
int
i
=
0
;
namespace
foo
{
// { dg-error "'namespace' definition is not allowed here" }
int
j
=
0
;
}
return
0
;
}