diff options
Diffstat (limited to 'gcc/testsuite/objc.dg/foreach-4.m')
-rw-r--r-- | gcc/testsuite/objc.dg/foreach-4.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/objc.dg/foreach-4.m b/gcc/testsuite/objc.dg/foreach-4.m index 55484d7dd5a..ed5dda01a60 100644 --- a/gcc/testsuite/objc.dg/foreach-4.m +++ b/gcc/testsuite/objc.dg/foreach-4.m @@ -2,6 +2,7 @@ the declaration syntax 'for (id object in array) statements' */ /* { dg-do run } */ +/* { dg-skip-if "No NeXT fast enum. pre-Darwin9" { *-*-darwin[5-8]* } { "-fnext-runtime" } { "" } } */ /* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */ /* { dg-options "-mno-constant-cfstrings" { target *-*-darwin* } } */ /* { dg-additional-sources "../objc-obj-c++-shared/Object1.m" } */ @@ -49,6 +50,7 @@ struct __objcFastEnumerationState length = l; objects = o; mutated = 0; + return self; } - (void) mutate { |