gecko/xpcom/tests/static-checker/override-signature.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
98 B
C++

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