projects
/
deliverable
/
binutils-gdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
[deliverable/binutils-gdb.git]
/
gdb
/
testsuite
/
gdb.cp
/
nsrecurs.cc
1
namespace
A
2
{
3
int
ax
=
9
;
4
}
5
6
namespace
B
7
{
8
using namespace
A
;
9
}
10
11
namespace
C
12
{
13
using namespace
B
;
14
}
15
16
using namespace
C
;
17
18
//---------------
19
namespace
D
20
{
21
using namespace
D
;
22
int
dx
=
99
;
23
}
24
using namespace
D
;
25
26
//---------------
27
namespace
28
{
29
namespace
30
{
31
int
xx
=
999
;
32
}
33
}
34
35
//---------------
36
namespace
E
37
{
38
int
ex
=
9999
;
39
}
40
41
namespace
F
42
{
43
namespace
FE
=
E
;
44
}
45
46
namespace
G
47
{
48
namespace
GF
=
F
;
49
}
50
51
//----------------
52
int
main
()
53
{
54
using namespace
D
;
55
namespace
GX
=
G
;
56
return
ax
+
dx
+
xx
+
G
::
GF
::
FE
::
ex
;
57
}
This page took
0.031419 seconds
and
5
git commands to generate.