diff options
Diffstat (limited to 'gcc/testsuite/objc.dg/fix-and-continue-1.m')
-rw-r--r-- | gcc/testsuite/objc.dg/fix-and-continue-1.m | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/testsuite/objc.dg/fix-and-continue-1.m b/gcc/testsuite/objc.dg/fix-and-continue-1.m index 49250c2d84f..1560beac463 100644 --- a/gcc/testsuite/objc.dg/fix-and-continue-1.m +++ b/gcc/testsuite/objc.dg/fix-and-continue-1.m @@ -4,8 +4,9 @@ /* { dg-do run { target *-*-darwin* } } */ /* { dg-options "-mfix-and-continue" } */ +/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */ -#include <objc/Object.h> +#include "../objc-obj-c++-shared/Object1.h" #include <stdlib.h> @class MyTarget, MySet; @@ -88,3 +89,5 @@ int main(void) { return 0; } + +#include "../objc-obj-c++-shared/Object1-implementation.h" |