Index: gcc/gcc/testsuite/objc.dg/proto-lossage-3.m |
diff --git a/gcc/gcc/testsuite/objc.dg/proto-lossage-3.m b/gcc/gcc/testsuite/objc.dg/proto-lossage-3.m |
index 512a59ee6dc9a80283d8ed0c4abaa00d034d3585..1cb7b1d91b9dbed9bee09c54be3f630a96ce17bc 100644 |
--- a/gcc/gcc/testsuite/objc.dg/proto-lossage-3.m |
+++ b/gcc/gcc/testsuite/objc.dg/proto-lossage-3.m |
@@ -2,9 +2,10 @@ |
a protocol with no instance/class methods respectively. |
Problem report and original fix by richard@brainstorm.co.uk. */ |
/* { dg-do run } */ |
+/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */ |
+#include "../objc-obj-c++-shared/Protocol1.h" |
+#include "../objc-obj-c++-shared/Object1.h" |
#include <objc/objc.h> |
-#include <objc/Object.h> |
-#include <objc/Protocol.h> |
@protocol NoInstanceMethods |
+ testMethod; |