mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
9b788e903b
--HG-- extra : rebase_source : 4f3034c93cc76c7504d1cfb21953c495c35d068f
11 lines
269 B
C++
11 lines
269 B
C++
#include "nscore.h"
|
|
|
|
struct S {
|
|
virtual NS_MUST_OVERRIDE void f();
|
|
virtual void g();
|
|
};
|
|
|
|
struct A : S { virtual void f(); }; // ok
|
|
struct B : S { virtual NS_MUST_OVERRIDE void f(); }; // also ok
|
|
struct E : A { }; // ok: A's definition of f() is good for subclasses
|