X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fobjc%2Fexecute%2Fstatic-1.m;fp=gcc%2Ftestsuite%2Fobjc%2Fexecute%2Fstatic-1.m;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=761e7070271b59a71bd23a81461a0834fd2e3080;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/objc/execute/static-1.m b/gcc/testsuite/objc/execute/static-1.m deleted file mode 100644 index 761e7070..00000000 --- a/gcc/testsuite/objc/execute/static-1.m +++ /dev/null @@ -1,34 +0,0 @@ -/* Contributed by Nicola Pero - Fri Mar 9 19:39:15 CET 2001 */ -#include - -/* Test defining a static variable *inside* a class implementation */ - -@interface Test -{ - Class isa; -} -+ (int) test; -@end - -@implementation Test - -static int test = 1; - -+ (int) test -{ - return test; -} - -@end - -int main (void) -{ - if ([Test test] != 1) - { - abort (); - } - - return 0; -} - -