X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fgcc.c-torture%2Fexecute%2F20010925-1.c;fp=gcc%2Ftestsuite%2Fgcc.c-torture%2Fexecute%2F20010925-1.c;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=ad1ba6dd23190593a90624447e32dad0e72ebce1;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/gcc.c-torture/execute/20010925-1.c b/gcc/testsuite/gcc.c-torture/execute/20010925-1.c deleted file mode 100644 index ad1ba6dd..00000000 --- a/gcc/testsuite/gcc.c-torture/execute/20010925-1.c +++ /dev/null @@ -1,24 +0,0 @@ -extern void exit(int); -extern void abort (void); - -extern void * memcpy (void *, const void *, unsigned int); -int foo (void *, void *, unsigned int c); - -int src[10]; -int dst[10]; - -int main() -{ - if (foo (dst, src, 10) != 0) - abort(); - exit(0); -} - -int foo (void *a, void *b, unsigned int c) -{ - if (c == 0) - return 1; - - memcpy (a, b, c); - return 0; -}