X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fobjc%2Fexecute%2F_cmd.m;fp=gcc%2Ftestsuite%2Fobjc%2Fexecute%2F_cmd.m;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=20203b51711195aa865969c225deb472a4124237;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/objc/execute/_cmd.m b/gcc/testsuite/objc/execute/_cmd.m deleted file mode 100644 index 20203b51..00000000 --- a/gcc/testsuite/objc/execute/_cmd.m +++ /dev/null @@ -1,30 +0,0 @@ -/* Contributed by Nicola Pero - Fri Mar 9 19:39:15 CET 2001 */ -#include -#include - -/* Test the hidden argument _cmd to method calls */ - -@interface TestClass -{ - Class isa; -} -+ (const char*) method; -@end - -@implementation TestClass -+ (const char*) method; -{ - return sel_get_name (_cmd); -} -@end - - -int main (void) -{ - if (strcmp ([TestClass method], "method")) - { - abort (); - } - - return 0; -}