ignore invalid DOF provider sections
[binutils-gdb.git] / gdb / testsuite / gdb.cp / shadow.cc
blob0520b2aeb8b6afecd7091cac3e295bec99c485b1
1 namespace A
3 int x = 11;
6 int x = 22;
7 int y = 0;
9 class B
11 public:
12 int x;
14 int
15 func()
17 x = 33;
18 y++; // marker1
21 int x = 44;
22 y++; // marker2
25 int x = 55;
26 y++; // marker3
29 using namespace A;
30 y++; // marker4
33 using A::x;
34 y++; // marker5
42 int
43 main()
45 B theB;
46 return theB.func();