diff options
Diffstat (limited to 'gcc/testsuite/objc/execute/class-4.m')
-rw-r--r-- | gcc/testsuite/objc/execute/class-4.m | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/objc/execute/class-4.m b/gcc/testsuite/objc/execute/class-4.m index 0ae723c035b..34d414b1229 100644 --- a/gcc/testsuite/objc/execute/class-4.m +++ b/gcc/testsuite/objc/execute/class-4.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 */ @@ -12,6 +14,9 @@ @end @implementation RootClass +#ifdef __NEXT_RUNTIME__ ++ initialize { return self; } +#endif @end @interface SubClass : RootClass |