X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fgcc.c-torture%2Fexecute%2F961125-1.c;fp=gcc%2Ftestsuite%2Fgcc.c-torture%2Fexecute%2F961125-1.c;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=7fe3dd45422e91f0e30ec3b7ea35419a3610da2e;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/gcc.c-torture/execute/961125-1.c b/gcc/testsuite/gcc.c-torture/execute/961125-1.c deleted file mode 100644 index 7fe3dd45..00000000 --- a/gcc/testsuite/gcc.c-torture/execute/961125-1.c +++ /dev/null @@ -1,33 +0,0 @@ -static char * -begfield (int tab, char *ptr, char *lim, int sword, int schar) -{ - if (tab) - { - while (ptr < lim && sword--) - { - while (ptr < lim && *ptr != tab) - ++ptr; - if (ptr < lim) - ++ptr; - } - } - else - { - while (1) - ; - } - - if (ptr + schar <= lim) - ptr += schar; - - return ptr; -} - -main () -{ - char *s = ":ab"; - char *lim = s + 3; - if (begfield (':', s, lim, 1, 1) != s + 2) - abort (); - exit (0); -}