X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fgcc.c-torture%2Fexecute%2F20000910-2.c;fp=gcc%2Ftestsuite%2Fgcc.c-torture%2Fexecute%2F20000910-2.c;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=0023d2451e0b6976278f13ffd86a66715f02e116;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/gcc.c-torture/execute/20000910-2.c b/gcc/testsuite/gcc.c-torture/execute/20000910-2.c deleted file mode 100644 index 0023d245..00000000 --- a/gcc/testsuite/gcc.c-torture/execute/20000910-2.c +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright (C) 2000 Free Software Foundation */ -/* by Alexandre Oliva */ - -#include -#include - -char *list[] = { "*", "e" }; - -static int bar (const char *fmt) { - return (strchr (fmt, '*') != 0); -} - -static void foo () { - int i; - for (i = 0; i < sizeof (list) / sizeof (*list); i++) { - const char *fmt = list[i]; - if (bar (fmt)) - continue; - if (i == 0) - abort (); - else - exit (0); - } -} - -int main () { - foo (); -}