summaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc/execute/static-2.m
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/objc/execute/static-2.m')
-rw-r--r--gcc/testsuite/objc/execute/static-2.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/testsuite/objc/execute/static-2.m b/gcc/testsuite/objc/execute/static-2.m
index 52a03a8fbd4..4d7e7449bff 100644
--- a/gcc/testsuite/objc/execute/static-2.m
+++ b/gcc/testsuite/objc/execute/static-2.m
@@ -22,6 +22,9 @@ static int test (void)
return test ();
}
+#ifdef __NEXT_RUNTIME__
++ initialize { return self; }
+#endif
@end
int main (void)