diff options
Diffstat (limited to 'gcc/testsuite/objc.dg/encode-3.m')
-rw-r--r-- | gcc/testsuite/objc.dg/encode-3.m | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/testsuite/objc.dg/encode-3.m b/gcc/testsuite/objc.dg/encode-3.m index 4322453..46a6eb8 100644 --- a/gcc/testsuite/objc.dg/encode-3.m +++ b/gcc/testsuite/objc.dg/encode-3.m @@ -1,10 +1,11 @@ /* Method encoding tests for stand-alone @protocol declarations. */ /* Contributed by Ziemowit Laski <zlaski@apple.com>. */ /* { dg-do run } */ +/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */ -#include <stdlib.h> #include "../objc-obj-c++-shared/Protocol1.h" -/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */ +#include <stdio.h> +#include <stdlib.h> #ifdef __cplusplus #define ProtoBool bool |