X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fgcc.c-torture%2Fexecute%2F991112-1.c;fp=gcc%2Ftestsuite%2Fgcc.c-torture%2Fexecute%2F991112-1.c;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=e43c7beeb87673a414913bcf58e189f5367c672b;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/gcc.c-torture/execute/991112-1.c b/gcc/testsuite/gcc.c-torture/execute/991112-1.c deleted file mode 100644 index e43c7bee..00000000 --- a/gcc/testsuite/gcc.c-torture/execute/991112-1.c +++ /dev/null @@ -1,19 +0,0 @@ -/* This code was miscompiled at -O3 on x86. - Reported by Jim Meyering; distilled from bash. */ - -int rl_show_char (int c) { return 0; } - -int rl_character_len (int c, int pos) -{ - return isprint (c) ? 1 : 2; -} - -int main(void) -{ - int (*x)(int, int) = rl_character_len; - if (x('a', 1) != 1) - abort(); - if (x('\002', 1) != 2) - abort(); - return 0; -}