summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/debug/pr47209.C
blob: c144c16396c72c90fee824175ad27c798ce6aeb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do compile }
// { dg-options "-femit-struct-debug-baseonly" }
struct A
{
  void foo ();
};

struct B : A
{
  typedef const A base;
  using base::foo;
};