summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/debug/dwarf2/imported-module-3.C
blob: 6c563752a49c1542c7768c8050845c15b45e6d95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// PR debug/39379
// { dg-do compile }
// { dg-options "-g -dA -gno-strict-dwarf" }
// { dg-final { scan-assembler "DW_TAG_imported_module" }  }

namespace A
{
  int v;
}

int
main ()
{
  using namespace A;
  v++;
  return v - 1;
}