X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fobjc%2Fexecute%2Fformal_protocol-6.m;fp=gcc%2Ftestsuite%2Fobjc%2Fexecute%2Fformal_protocol-6.m;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=7873fdcdf393e59dd9220932312f839a9842f020;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/objc/execute/formal_protocol-6.m b/gcc/testsuite/objc/execute/formal_protocol-6.m deleted file mode 100644 index 7873fdcd..00000000 --- a/gcc/testsuite/objc/execute/formal_protocol-6.m +++ /dev/null @@ -1,25 +0,0 @@ -/* Contributed by Nicola Pero - Fri Mar 9 21:35:47 CET 2001 */ -#include -#include - -/* Test defining a protocol, and accessing it using @protocol */ - -@protocol Evaluating -- (int) importance; -@end - -/* Without a class adopting the protocol - this doesn't work - with gcc-2.95.2 as well */ - -int main (void) -{ - Protocol *protocol = @protocol (Evaluating); - - if (strcmp ([protocol name], "Evaluating")) - { - abort (); - } - - return 0; -} -