diff options
Diffstat (limited to 'gcc/testsuite/objc/execute/class-13.m')
-rw-r--r-- | gcc/testsuite/objc/execute/class-13.m | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/objc/execute/class-13.m b/gcc/testsuite/objc/execute/class-13.m index 0d87afd9508..98cf0ccd729 100644 --- a/gcc/testsuite/objc/execute/class-13.m +++ b/gcc/testsuite/objc/execute/class-13.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 a class 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 static int class_variable = 0; |