]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/objc/execute/_cmd.m
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / objc / execute / _cmd.m
diff --git a/gcc/testsuite/objc/execute/_cmd.m b/gcc/testsuite/objc/execute/_cmd.m
deleted file mode 100644 (file)
index 20203b5..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-/* Contributed by Nicola Pero - Fri Mar  9 19:39:15 CET 2001 */
-#include <objc/objc.h>
-#include <objc/objc-api.h>
-
-/* 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;
-}