summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/debug/dwarf2-2.C
blob: 9e6dbd2169d4bde155a527e1d1ef9cb070aefd8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// PR debug/27057
// { dg-do compile }
// { dg-options "-g -feliminate-dwarf2-dups" }

namespace N
{
}

struct A
{
  void foo ();
};

void A::foo ()
{
  using namespace N;
}