Mercurial > hg > CbC > old > device
annotate test/void_code.c @ 439:65e379ba36b8
*** empty log message ***
author | kono |
---|---|
date | Mon, 15 Nov 2004 20:58:58 +0900 |
parents | 626d705471d5 |
children | 32737bad7489 |
rev | line source |
---|---|
438 | 1 main() |
2 { | |
439 | 3 int i; |
438 | 4 for(;;) { |
5 printf("aho\n"); | |
6 break; | |
7 } | |
8 do printf("aho\n"); while(0); | |
9 if (0) | |
10 printf("a\n"); | |
11 if (0) | |
12 printf("a\n"); | |
13 else | |
14 printf("b\n"); | |
15 if (1) | |
16 printf("a\n"); | |
17 else { | |
18 printf("b\n"); | |
19 printf("b\n"); | |
20 } | |
439 | 21 if (0) |
22 printf("a\n"); | |
23 else if (0 && i) { | |
24 printf("bi\n"); | |
25 printf("bi\n"); | |
26 } | |
438 | 27 return 0; |
28 } |