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

9 строки
161 B
C++

#include "nscore.h"
struct S {
virtual NS_MUST_OVERRIDE void f();
virtual void g();
};
struct D : S { virtual void f(int); }; // ERROR: different overload