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