Sign in
llvm
/
llvm-archive
/
b74e25f9042d5657e8f400dd820eba426827f1dd
/
.
/
llvm-gcc-4.2
/
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" }
}