diff options
Diffstat (limited to 'gcc/testsuite/objc/execute/_cmd.m')
-rw-r--r-- | gcc/testsuite/objc/execute/_cmd.m | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/objc/execute/_cmd.m b/gcc/testsuite/objc/execute/_cmd.m index 20203b51711..f2b05b6527b 100644 --- a/gcc/testsuite/objc/execute/_cmd.m +++ b/gcc/testsuite/objc/execute/_cmd.m @@ -2,6 +2,8 @@ #include <objc/objc.h> #include <objc/objc-api.h> +#include "next_mapping.h" + /* Test the hidden argument _cmd to method calls */ @interface TestClass @@ -16,6 +18,9 @@ { return sel_get_name (_cmd); } +#ifdef __NEXT_RUNTIME__ ++ initialize { return self; } +#endif @end |