https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 070a766b85f811d42f53e07cf1cb1a92964ef697 authored by seabld on 08 October 2012, 02:45:12 UTC
Added tag SEAMONKEY_2_13_RELEASE for changeset FIREFOX_16_0_BUILD1. CLOSED TREE a=release
Tip revision: 070a766
override-pass.cpp
class A
{
  int a(int, char*);
  void c(char);
  virtual void d(int) = 0;
};

class B : A
{
  __attribute__((user("NS_override"))) int a(int, char*);
};

class C : B
{
  __attribute__((user("NS_override"))) void c(char);
};

class D : A
{
  __attribute__((user("NS_override"))) void d(int);
};
back to top