Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
class2.C
blob: 2014f9b50e4ce0f633cf94437cbc5fef1c8d9884 [
file
] [
log
] [
blame
]
// PR c++/13140
struct
foo
{
foo
();
void
f
();
static
int
i
;
};
namespace
bar
{
foo
::
foo
()
{}
// { dg-error "namespace" }
void
foo
::
f
()
{}
// { dg-error "namespace" }
int
foo
::
i
;
// { dg-error "namespace" }
}