X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fgcc.c-torture%2Fexecute%2Findex-1.c;fp=gcc%2Ftestsuite%2Fgcc.c-torture%2Fexecute%2Findex-1.c;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=b00090d834a13228125a877e030ac743aa4c50a7;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/gcc.c-torture/execute/index-1.c b/gcc/testsuite/gcc.c-torture/execute/index-1.c deleted file mode 100644 index b00090d8..00000000 --- a/gcc/testsuite/gcc.c-torture/execute/index-1.c +++ /dev/null @@ -1,20 +0,0 @@ -int a[] = -{ - 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, - 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, - 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, - 30, 31, 32, 33, 34, 35, 36, 37, 38, 39 -}; - -int -f (long n) -{ - return a[n - 100000]; -} - -main () -{ - if (f (100030L) != 30) - abort(); - exit (0); -}