aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/debug/dwarf2-1.C
blob: e90d51030c85186dc07e329f2e9492325f361592 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (C) 2006 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 6 Jan 2006 <nathan@codesourcery.com>

// PR 24824
// Origin:   	 wanderer@rsu.ru

// { dg-options "-feliminate-dwarf2-dups" }

namespace N
{
  struct Base
  {
    int m;
  };

  struct Derived : Base
  {
    using Base::m;
  };
}

N::Derived thing;