1 /* { dg-do preprocess } */
2 /* { dg-options "-pedantic-errors" } */
5 #error 0xa != 10 /* { dg-bogus "#error" "normal conversion" } */
9 #error 077 != 63 /* { dg-bogus "#error" "normal conversion" } */
12 #if 12wrt /* { dg-error "invalid suffix" "invalid number" } */
15 #if 0abc /* { dg-error "invalid suffix" "invalid number" } */
18 #if 42abc /* { dg-error "invalid suffix" "invalid number" } */
22 #error 0xabc /* { dg-bogus "#error" "normal conversion" } */
25 #if 1.2 /* { dg-error "loating constant" "floating point in #if" } */
28 #if 4uu /* { dg-error "invalid suffix" "too many suffixes" } */
31 #if 124123231lll /* { dg-error "invalid suffix" "too many suffixes" } */
34 #if 1234lul /* { dg-error "invalid suffix" "u between ls" } */
37 #if 099 /* { dg-error "invalid digit" "decimal in octal constant" } */
40 #if 0xfffffffffffffffff /* { dg-error "integer constant" "range error" } */