Debian Codegraph @

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

raw
1 // Contributed by Dodji Seketeli <[email protected]>
2 // Origin: PR debug/38390
3 // { dg-do compile }
4 // { dg-options "-gdwarf-2 -dA -gno-strict-dwarf" }
5 // { dg-final { scan-assembler "DW_TAG_imported_module" } }
6
7 namespace A
8 {
9 int v;
10 }
11
12 int
13 f ()
14 {
15 using namespace A;
16 return v;
17 }
18