repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ignore invalid DOF provider sections
[binutils-gdb.git]
/
gdb
/
testsuite
/
gdb.cp
/
nsrecurs.cc
blob
2edc35fc206d64ecdb07acaaf35f275d3141e1bf
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
}