blob: e2f77ecf04b9ccc4964018f6f2a66635ebf21857 [file] [log] [blame]
// { dg-do run }
class A {
public:
};
template <class T>
class B: public virtual A {
public:
B ();
~B ();
};
template <class T>
B<T>::B () { }
template <class T>
B<T>::~B () { }
int main () {
B<int> ab;
return 0;
}