]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/objc/execute/np-2.m
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / objc / execute / np-2.m
diff --git a/gcc/testsuite/objc/execute/np-2.m b/gcc/testsuite/objc/execute/np-2.m
deleted file mode 100644 (file)
index 37cf6dd..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Contributed by Nicola Pero <n.pero@mi.flashnet.it>
- * Tue Sep 19 4:34AM
- */
-#include <objc/objc.h>
-#include <objc/Protocol.h>
-
-@protocol MyProtocol
-+ (oneway void) methodA;
-@end
-
-@interface MyObject <MyProtocol>
-@end
-
-@implementation MyObject
-+ (oneway void) methodA
-{
-  printf ("methodA\n");
-}
-@end
-
-int main (void)
-{
-  [MyObject methodA];
-
-   exit (0);
-}
-
-