aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/obj-c++.dg/protocol-forward-1.mm
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/obj-c++.dg/protocol-forward-1.mm')
-rw-r--r--gcc-4.8.1/gcc/testsuite/obj-c++.dg/protocol-forward-1.mm27
1 files changed, 0 insertions, 27 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/obj-c++.dg/protocol-forward-1.mm b/gcc-4.8.1/gcc/testsuite/obj-c++.dg/protocol-forward-1.mm
deleted file mode 100644
index 03c7ae065..000000000
--- a/gcc-4.8.1/gcc/testsuite/obj-c++.dg/protocol-forward-1.mm
+++ /dev/null
@@ -1,27 +0,0 @@
-/* Contributed by Nicola Pero <nicola.pero@meta-innovation.com>, December 2010. */
-/* { dg-do compile } */
-
-/* Test that all protocols appearing in @interface declarations are
- real (ie, we saw a full @protocol definition with list of methods),
- and not just forward-references (ie, "@protocol NSObject;"). */
-
-#include <objc/objc.h>
-
-@protocol MyProtocol;
-
-@protocol MyProtocol2
-- (int)method2;
-@end
-
-@interface MyClass <MyProtocol> /* { dg-warning "definition of protocol .MyProtocol. not found" } */
-@end
-
-@interface MyClass2 <MyProtocol2> /* Ok */
-@end
-
-@interface MyClass2 (Category) <MyProtocol> /* { dg-warning "definition of protocol .MyProtocol. not found" } */
-@end
-
-@protocol MyProtocol3 <MyProtocol> /* Ok */
-@end
-