gcc/contrib/reghunt/examples/29906a.cc

8 lines
82 B
C++

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