diff options
Diffstat (limited to 'gcc/testsuite/objc/execute/class-6.m')
-rw-r--r-- | gcc/testsuite/objc/execute/class-6.m | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/objc/execute/class-6.m b/gcc/testsuite/objc/execute/class-6.m index f60912aa608..fb2d64b4314 100644 --- a/gcc/testsuite/objc/execute/class-6.m +++ b/gcc/testsuite/objc/execute/class-6.m @@ -2,6 +2,8 @@ #include <objc/objc.h> #include <objc/objc-api.h> +#include "next_mapping.h" + /* Tests creating a root class and a subclass with an ivar and accessor methods and a subclass overriding the superclass' implementation but reusing it with super */ @@ -13,6 +15,9 @@ @end @implementation RootClass +#ifdef __NEXT_RUNTIME__ ++ initialize { return self; } +#endif @end @interface SubClass : RootClass |