Debian Codegraph @

gcc/testsuite/g++.dg/debug/dwarf2/imported-module.C

raw
1 // Contributed by Dodji Seketeli <[email protected]>
2 // Origin: PR debug/37410
3 // { dg-do compile }
4
5 namespace A1
6 {
7 int aaa = 1;
8 };
9 namespace A2
10 {
11 int aaa = 2;
12 };
13
14 int
15 foo (void)
16 {
17 int x;
18
19 {
20 int block_create;
21 using namespace A1;
22
23 block_create = aaa; /* break1 */
24 }
25
26 {
27 int block_create;
28 using namespace A2;
29
30 block_create = aaa; /* break2 */
31 }
32
33 return x = 0;
34 }
35