diff options
Diffstat (limited to 'gcc/testsuite/objc.dg/method-10.m')
-rw-r--r-- | gcc/testsuite/objc.dg/method-10.m | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/testsuite/objc.dg/method-10.m b/gcc/testsuite/objc.dg/method-10.m index 5a2a1db3462..442df690a0a 100644 --- a/gcc/testsuite/objc.dg/method-10.m +++ b/gcc/testsuite/objc.dg/method-10.m @@ -3,8 +3,10 @@ message sends (so that proper C/C++ argument conversions may take place). */ /* { dg-do run } */ +/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */ + +#include "../objc-obj-c++-shared/Object1.h" -#include <objc/Object.h> extern void abort(void); #define CHECK_IF(expr) if(!(expr)) abort() @@ -30,3 +32,4 @@ int main(void) return 0; } +#include "../objc-obj-c++-shared/Object1-implementation.h" |