Hackfix and re-enable strtoull and wcstoull, see bug #3798.
[sdcc.git] / sdcc / support / regression / qct / 0034-logandor.c
blob5371622d5df0b9ab592a2173dff8c6c0fd2cd5c7
2 int g;
4 int
5 effect()
7 g = 1;
8 return 1;
11 int
12 main()
14 int x;
16 g = 0;
17 x = 0;
18 if(x && effect())
19 return 1;
20 if(g)
21 return 2;
22 x = 1;
23 if(x && effect()) {
24 if(g != 1)
25 return 3;
26 } else {
27 return 4;
29 g = 0;
30 x = 1;
31 if(x || effect()) {
32 if(g)
33 return 5;
34 } else {
35 return 6;
37 x = 0;
38 if(x || effect()) {
39 if(g != 1)
40 return 7;
41 } else {
42 return 8;
44 return 0;