gecko/xpcom/tests/static-checker/override-static.cpp
Benjamin Smedberg 50d59bbf8a Bug 500870 - NS_OVERRIDE indicates that a method must override a base-class method, r=taras
--HG--
extra : rebase_source : 3dc3327030dc2cdf45bdd9170c5e9d02908c0d0c
2009-09-04 11:21:31 -04:00

10 lines
104 B
C++

class A
{
static int m();
};
class B : A
{
__attribute__((user("NS_override"))) static int m();
};