blob: 094891c7a14c1e9d8553b21a5213f25a5cdd1cbc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// 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();
}
|