summaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc/execute/redefining_self.m
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/objc/execute/redefining_self.m')
-rw-r--r--gcc/testsuite/objc/execute/redefining_self.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/testsuite/objc/execute/redefining_self.m b/gcc/testsuite/objc/execute/redefining_self.m
index 93659dbac8d..ddb2eb2e3d0 100644
--- a/gcc/testsuite/objc/execute/redefining_self.m
+++ b/gcc/testsuite/objc/execute/redefining_self.m
@@ -17,6 +17,9 @@
return self;
}
+#ifdef __NEXT_RUNTIME__
++ initialize { return self; }
+#endif
@end