blob: 094891c7a14c1e9d8553b21a5213f25a5cdd1cbc [file] [log] [blame]
// PR c++/14108
class ClassC {
public:
~ClassC();
};
class ClassA {
virtual ClassC f();
};
class ClassB : public virtual ClassA {
virtual ClassC f();
};
ClassC ClassB::f() {
return ClassC();
}