]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/objc/execute/redefining_self.m
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / objc / execute / redefining_self.m
diff --git a/gcc/testsuite/objc/execute/redefining_self.m b/gcc/testsuite/objc/execute/redefining_self.m
deleted file mode 100644 (file)
index 93659db..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-/* Contributed by Nicola Pero - Fri Mar  9 19:39:15 CET 2001 */
-#include <objc/objc.h>
-
-/* Test redefining self */
-
-@interface TestClass 
-{
-  Class isa;
-}
-+ (Class) class;
-@end
-
-@implementation TestClass
-+ (Class) class
-{
-  self = Nil;
-
-  return self;
-}
-@end
-
-
-int main (void)
-{
-  if ([TestClass class] != Nil)
-    {
-      abort ();
-    }
-
-  return 0;
-}