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
* gcc.dg/20020201-1.c: Use cleanup-coverage_files.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ns
/
ns2.C
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
}