1/* n_12.t:  Integer preprocessing number token and type of #if expression.  */
2
3#include    <limits.h>
4
5/* 12.1:    Type long.  */
6#if     LONG_MAX <= LONG_MIN
7    Bad evaluation of long.
8#endif
9#if     LONG_MAX <= 1073741823  /* 0x3FFFFFFF   */
10    Bad evaluation of long.
11#endif
12
13/* 12.2:    Type unsigned long. */
14#if     ULONG_MAX / 2 < LONG_MAX
15    Bad evaluation of unsigned long.
16#endif
17
18/* 12.3:    Octal number.   */
19#if     0177777 != 65535
20    Bad evaluation of octal number.
21#endif
22
23/* 12.4:    Hexadecimal number. */
24#if     0Xffff != 65535 || 0xFfFf != 65535
25    Bad evaluation of hexadecimal number.
26#endif
27
28/* 12.5:    Suffix 'L' or 'l'.  */
29#if     0L != 0 || 0l != 0
30    Bad evaluation of 'L' suffix.
31#endif
32
33/* 12.6:    Suffix 'U' or 'u'.  */
34#if     1U != 1 || 1u != 1
35    Bad evaluation of 'U' suffix.
36#endif
37
38/* 12.7:    Negative integer.   */
39#if     0 <= -1
40    Bad evaluation of negative number.
41#endif
42
43