X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fgcc.c-torture%2Fexecute%2Fva-arg-8.c;fp=gcc%2Ftestsuite%2Fgcc.c-torture%2Fexecute%2Fva-arg-8.c;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=ece5338e4fcd8868c215587d3b3f2787e05f336b;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/gcc.c-torture/execute/va-arg-8.c b/gcc/testsuite/gcc.c-torture/execute/va-arg-8.c deleted file mode 100644 index ece5338e..00000000 --- a/gcc/testsuite/gcc.c-torture/execute/va-arg-8.c +++ /dev/null @@ -1,42 +0,0 @@ -/* Origin: Franz Sirl */ - -#include -#include - -#if __LONG_LONG_MAX__ == 9223372036854775807LL - -typedef long long int INT64; - -inline void -debug(i1, i2, i3, i4, i5, i6, i7, i8, i9, va_alist) - int i1, i2, i3, i4, i5, i6, i7, i8, i9; - va_dcl -{ - va_list ap; - - va_start (ap); - - if (va_arg (ap,int) != 10) - abort (); - if (va_arg (ap,INT64) != 0x123400005678LL) - abort (); - - va_end (ap); -} - -int -main(void) -{ - debug(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 0x123400005678LL); - exit(0); -} - -#else - -int -main(void) -{ - exit(0); -} - -#endif /* long long 64 bits */