Incorrect shift result type with 64-bit ABI
[tinycc/miki.git] / tests2 / 41_hashif.c
blobcb37b9eb0b8e5df23e4ecee1251702818f13da8f
1 #include <stdio.h>
3 int main()
5 printf("#include test\n");
7 #if 1
8 #if 0
9 printf("a\n");
10 #else
11 printf("b\n");
12 #endif
13 #else
14 #if 0
15 printf("c\n");
16 #else
17 printf("d\n");
18 #endif
19 #endif
21 #if 0
22 #if 1
23 printf("e\n");
24 #else
25 printf("f\n");
26 #endif
27 #else
28 #if 1
29 printf("g\n");
30 #else
31 printf("h\n");
32 #endif
33 #endif
35 #define DEF
37 #ifdef DEF
38 #ifdef DEF
39 printf("i\n");
40 #else
41 printf("j\n");
42 #endif
43 #else
44 #ifdef DEF
45 printf("k\n");
46 #else
47 printf("l\n");
48 #endif
49 #endif
51 #ifndef DEF
52 #ifndef DEF
53 printf("m\n");
54 #else
55 printf("n\n");
56 #endif
57 #else
58 #ifndef DEF
59 printf("o\n");
60 #else
61 printf("p\n");
62 #endif
63 #endif
65 #define ONE 1
66 #define ZERO 0
68 #if ONE
69 #if ZERO
70 printf("q\n");
71 #else
72 printf("r\n");
73 #endif
74 #else
75 #if ZERO
76 printf("s\n");
77 #else
78 printf("t\n");
79 #endif
80 #endif
82 return 0;
85 /* vim: set expandtab ts=4 sw=3 sts=3 tw=80 :*/