summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/debug/dwarf2/imported-module-2.C
blob: 65141d74edb0515f5f40c6b9724201b5c8057111 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Contributed by Dodji Seketeli <dodji@redhat.com>
// Origin: PR debug/38390
// { dg-do compile  }
// { dg-options "-g -dA -gno-strict-dwarf" }
// { dg-final { scan-assembler "DW_TAG_imported_module" }  }

namespace A
{
  int v;
}

int
f ()
{
  using namespace A;
  return v;
}