Handle void * conversions in FreeBSD/x86 native code to fix C++ build.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.cp / nsnested.cc
1 namespace A
2 {
3 namespace B
4 {
5 int ab = 11;
6 }
7 }
8
9 namespace C
10 {
11 namespace D
12 {
13 using namespace A::B;
14
15 int
16 second()
17 {
18 ab;
19 return 0;
20 }
21 }
22
23 int
24 first()
25 {
26 //ab;
27 return D::second();
28 }
29 }
30
31 int
32 main()
33 {
34 //ab;
35 return C::first();
36 }
This page took 0.034827 seconds and 4 git commands to generate.