summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/debug/using1.C
blob: d3168fc6c1c7d01fe841f5d763dcb88323c16780 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// PR c++/19406
// { dg-do compile }

struct A
{
  virtual int foo();
  double d;
};

struct B : public A
{
  A::d;
};

B b;