Debian Codegraph @

gcc/testsuite/g++.dg/debug/dwarf2/pr108716.C

raw
1 // PR debug/108716
2 // { dg-options "-O0 -gdwarf-5 -dA -fno-merge-debug-strings" }
3 // { dg-final { scan-assembler "DIE \\(\[^\n\r\]*\\) DW_TAG_imported_module\[^\n\r\]*\[\n\r]*\[^\n\r\]* DW_AT_decl_file\[^\n\r\]*\[\n\r]*\[^\n\r\]*0xc\[^\n\r\]* DW_AT_decl_line\[^\n\r\]*\[\n\r]*(\[^\n\r\]*0x13\[^\n\r\]* DW_AT_decl_column\[^\n\r\]*\[\n\r]*)?" } }
4
5 namespace M {
6 int x = 1;
7 }
8
9 int
10 main ()
11 {
12 using namespace M;
13 return 0;
14 }