Index: gcc/gcc/testsuite/objc/execute/bycopy-3.m |
diff --git a/gcc/gcc/testsuite/objc/execute/bycopy-3.m b/gcc/gcc/testsuite/objc/execute/bycopy-3.m |
index 60acde52b59550b167c549c5953dd7f43b92193f..d1944a4b3a130e7fb93e9e606fa567712ebfbfac 100644 |
--- a/gcc/gcc/testsuite/objc/execute/bycopy-3.m |
+++ b/gcc/gcc/testsuite/objc/execute/bycopy-3.m |
@@ -9,14 +9,12 @@ |
* interfere with what we are testing, which is that the `bycopy' |
* keyword generates the _F_BYCOPY qualifier for the return type. */ |
-#include <objc/objc.h> |
-#include <objc/Object.h> |
-#include <objc/Protocol.h> |
+#include "../../objc-obj-c++-shared/next-mapping.h" |
+#include "../../objc-obj-c++-shared/Protocol1.h" |
#ifndef __NEXT_RUNTIME__ |
#include <objc/encoding.h> |
#endif |
-#include "next_mapping.h" |
@protocol MyProtocol |
+ (bycopy id<MyProtocol>) bycopyMethod; |