blob: f30730f294a0e2cbf19fad7ff108e83190e543bf [file] [log] [blame]
// { dg-do run }
struct V { virtual ~V() {} };
template <class T> struct A : virtual V { };
template <class T> struct B {
virtual void f() { T foo; }
};
int main() { B< A<int> > bar; }