Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
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
;
}