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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ns
/
ns2.C
blob
0f65cbc5438b66d351ef4103fd6159d55ca817ae
1
// { dg-do run }
2
namespace foo{
3
struct X{
4
int i;
5
void f();
6
static int k1,k2;
7
};
8
void X::f(){}
9
int var;
10
int X::k1;
11
}
12
13
using namespace foo;
14
X zzz;
15
int X::k2;
16
17
void andere_funktion()
18
{
19
zzz.f();
20
var=4;
21
}
22
23
int main(int,char**)
24
{
25
andere_funktion();
26
return 0;
27
}