X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fobjc.dg%2Ffwd-proto-1.m;fp=gcc%2Ftestsuite%2Fobjc.dg%2Ffwd-proto-1.m;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=3b21c513c52e6b66dff7597acd8838a8dae5b82d;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/objc.dg/fwd-proto-1.m b/gcc/testsuite/objc.dg/fwd-proto-1.m deleted file mode 100644 index 3b21c513..00000000 --- a/gcc/testsuite/objc.dg/fwd-proto-1.m +++ /dev/null @@ -1,29 +0,0 @@ -/* Test forward-decls for @protocols. */ -/* Author: Ziemowit Laski . */ -/* { dg-do compile } */ - -/* One-line substitute for objc/objc.h */ -typedef struct objc_object { struct objc_class *class_pointer; } *id; - -@protocol Bar; -@protocol Boo; - -@protocol Foo -- (id )someMethod; -- (id )anotherMethod; /* { dg-error "annot find protocol declaration" } */ -@end - -@protocol Bar -- (id )someOtherMethod; -- (id )anotherMethod; /* { dg-error "annot find protocol declaration" } */ -- (id )yetAnotherMethod; -@end - -/* The following worthy test is stubbed out until we can get the - harness to match correctly on the "compilation terminated" message - when running on GNU/Linux. sts 2001-08-01 */ -#if 0 -@protocol Boo /* { /*dg*/-error "has circular dependency" } */ -@end -#endif -