summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/debug/pr29906.C
blob: 08bbe879bed55ea0fb944400d8ce43be99c56ee1 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do compile }
// { dg-options "-g -fno-emit-class-debug-always" }

struct A{
  typedef int T;
  virtual ~A();
};
struct B:public A{
  using A::T;
};