mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 21:55:31 +00:00
a7a24a1627
--HG-- extra : rebase_source : 4f3034c93cc76c7504d1cfb21953c495c35d068f
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()
|
|
};
|