Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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" }
}