pjs/xpcom/tests/static-checker/OverrideFail1.cpp

8 строки
156 B
C++

#include "nscore.h"
struct S {
virtual NS_MUST_OVERRIDE void f();
virtual void g();
};
struct C : S { virtual void g(); }; // ERROR: must override f()