X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fgcc.c-torture%2Fexecute%2F20001130-2.c;fp=gcc%2Ftestsuite%2Fgcc.c-torture%2Fexecute%2F20001130-2.c;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=c4ef6c7da065f8630e9227e4c44f060e1175ac5b;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/gcc.c-torture/execute/20001130-2.c b/gcc/testsuite/gcc.c-torture/execute/20001130-2.c deleted file mode 100644 index c4ef6c7d..00000000 --- a/gcc/testsuite/gcc.c-torture/execute/20001130-2.c +++ /dev/null @@ -1,31 +0,0 @@ -static int which_alternative = 3; - -static const char *i960_output_ldconst (void); - -static const char * -output_25 (void) -{ - switch (which_alternative) - { - case 0: - return "mov %1,%0"; - case 1: - return i960_output_ldconst (); - case 2: - return "ld %1,%0"; - case 3: - return "st %1,%0"; - } -} - -static const char *i960_output_ldconst (void) -{ - return "foo"; -} -int main(void) -{ - const char *s = output_25 () ; - if (s[0] != 's') - abort (); - exit (0); -}