Handle "p 'S::method()::static_var'" (quoted) in symbol lookup
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.cp / nsnoimports.cc
CommitLineData
2db19d1e
SW
1
2namespace A
3{
4 int _a = 11;
5
6 namespace B{
7
8 int ab = 22;
9
10 namespace C{
11
12 int abc = 33;
13
14 int second(){
15 return 0;
16 }
17
18 }
19
20 int first(){
21 _a;
22 ab;
23 C::abc;
24 return C::second();
25 }
26 }
27}
28
29
30int
31main()
32{
33 A::_a;
34 A::B::ab;
35 A::B::C::abc;
36 return A::B::first();
37}
This page took 0.731875 seconds and 4 git commands to generate.