blob: d3b2c51d351cbc4929d1bc1e9811430bd946e82a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
struct TFoo {
TFoo() {
Baz();
}
void Baz() {
Bar();
}
virtual void Bar() = 0;
};
struct TQux: public TFoo {
void Bar() override {
}
};
int main() {
TQux();
return 0;
}
|