OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/26291
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
class2.C
1
// PR c++/13140
2
3
struct foo {
4
foo();
5
void f();
6
static int i;
7
};
8
9
10
namespace bar {
11
foo::foo() {} // { dg-error "namespace" }
12
void foo::f() {} // { dg-error "namespace" }
13
int foo::i; // { dg-error "namespace" }
14
}