repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
parse
/
class2.C
blob
2014f9b50e4ce0f633cf94437cbc5fef1c8d9884
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
}