repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ns
/
ns2.C
blob
e0d1bdade0440a267b83e54df78f4d46a822ecc7
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
}