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
New test case.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ns
/
ns2.C
1
namespace foo{
2
struct X{
3
int i;
4
void f();
5
static int k1,k2;
6
};
7
void X::f(){}
8
int var;
9
int X::k1;
10
}
11
12
using namespace foo;
13
X zzz;
14
int X::k2;
15
16
void andere_funktion()
17
{
18
zzz.f();
19
var=4;
20
}
21
22
int main(int,char**)
23
{
24
andere_funktion();
25
return 0;
26
}