mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
14 lines
210 B
C++
14 lines
210 B
C++
|
#include "nscore.h"
|
||
|
|
||
|
struct Base {
|
||
|
NS_MUST_OVERRIDE void f();
|
||
|
};
|
||
|
|
||
|
struct Intermediate : Base {
|
||
|
NS_MUST_OVERRIDE void f();
|
||
|
};
|
||
|
|
||
|
struct Derived : Intermediate {
|
||
|
// error: must override Intermediate's f()
|
||
|
};
|