https://github.com/mozilla/gecko-dev
Raw File
Tip revision: efb967f8cf084ccda44399f40ef4669ef97d39d1 authored by Jonathan Griffin on 12 February 2013, 18:10:03 UTC
Bug 839675 - Prevent out-of-sync problems. r=mdas, a=akeybl
Tip revision: efb967f
OverrideFail4.cpp
#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()
};
back to top