Sign in
android
/
toolchain
/
gcc
/
donut
/
.
/
gcc-4.4.0
/
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" }
}