X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fgcc.dg%2Fcpp%2Fif-1.c;fp=gcc%2Ftestsuite%2Fgcc.dg%2Fcpp%2Fif-1.c;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=863fa904753ef63ad6365710116262140feb39a3;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/gcc.dg/cpp/if-1.c b/gcc/testsuite/gcc.dg/cpp/if-1.c deleted file mode 100644 index 863fa904..00000000 --- a/gcc/testsuite/gcc.dg/cpp/if-1.c +++ /dev/null @@ -1,41 +0,0 @@ -/* { dg-do preprocess } */ -/* { dg-options "-pedantic-errors" } */ - -#if 0xa != 10 -#error 0xa != 10 /* { dg-bogus "#error" "normal conversion" } */ -#endif - -#if 077 != 63 -#error 077 != 63 /* { dg-bogus "#error" "normal conversion" } */ -#endif - -#if 12wrt /* { dg-error "invalid suffix" "invalid number" } */ -#endif - -#if 0abc /* { dg-error "invalid suffix" "invalid number" } */ -#endif - -#if 42abc /* { dg-error "invalid suffix" "invalid number" } */ -#endif - -#if 0xabc != 2748 -#error 0xabc /* { dg-bogus "#error" "normal conversion" } */ -#endif - -#if 1.2 /* { dg-error "loating point numbers" "floating point in #if" } */ -#endif - -#if 4uu /* { dg-error "invalid suffix" "too many suffixes" } */ -#endif - -#if 124123231lll /* { dg-error "invalid suffix" "too many suffixes" } */ -#endif - -#if 1234lul /* { dg-error "invalid suffix" "u between ls" } */ -#endif - -#if 099 /* { dg-error "digits beyond the radix" "decimal in octal constant" } */ -#endif - -#if 0xfffffffffffffffff /* { dg-error "integer constant out of range" "range error" } */ -#endif