comparison test/goto.c @ 573:3de2ae36c7e5 more-strict-error

*** empty log message ***
author kono
date Fri, 13 Jan 2006 01:55:33 +0900
parents 388baa7d4bee
children 682c8ec38d45
comparison
equal deleted inserted replaced
572:388baa7d4bee 573:3de2ae36c7e5
16 void *env; 16 void *env;
17 17
18 code 18 code
19 a2(int i,code conv()) 19 a2(int i,code conv())
20 { 20 {
21 printf("#0028:a2 %d %s\n",i,print_conv(conv)); 21 printf("#0020:a2 %d %s\n",i,print_conv(conv));
22 goto conv(i+1,a4); 22 goto conv(i+1,a4);
23 } 23 }
24 24
25 code 25 code
26 a3(int i,code (*conv)()) 26 a3(int i,code (*conv)())
27 { 27 {
28 printf("#0035:a3 %d %s\n",i,print_conv(conv)); 28 printf("#0027:a3 %d %s\n",i,print_conv(conv));
29 goto conv(i+1,a5); 29 goto conv(i+1,a5);
30 } 30 }
31 31
32 code 32 code
33 a4(int i,code conv()) 33 a4(int i,code conv())
34 { 34 {
35 printf("#0042:a4 %d %s\n",i,print_conv(conv)); 35 printf("#0034:a4 %d %s\n",i,print_conv(conv));
36 goto (*conv)(i+1,a6); 36 goto (*conv)(i+1,a6);
37 } 37 }
38 38
39 code 39 code
40 a5(int i,code (*conv)()) 40 a5(int i,code (*conv)())
41 { 41 {
42 printf("#0049:a5 %d %s\n",i,print_conv(conv)); 42 printf("#0041:a5 %d %s\n",i,print_conv(conv));
43 goto (*conv)(i+1,i+2,i+3,a7); 43 goto (*conv)(i+1,i+2,i+3,a7);
44 } 44 }
45 45
46 code 46 code
47 a6(int i,int j,int k,code conv()) 47 a6(int i,int j,int k,code conv())
48 { 48 {
49 printf("#0056:a6 %d %s\n",i,print_conv(conv)); 49 printf("#0048:a6 %d %s\n",i,print_conv(conv));
50 goto conv(i+1,j,k,a8); 50 goto conv(i+1,j,k,a8);
51 } 51 }
52 52
53 code 53 code
54 a7(int i,,int j,int k,code (*conv)()) 54 a7(int i,,int j,int k,code (*conv)())
55 { 55 {
56 printf("#0063:a7 %d %s\n",i,print_conv(conv)); 56 printf("#0055:a7 %d %s\n",i,print_conv(conv));
57 goto conv(i+1,j,k,a9); 57 goto conv(i+1,j,k,a9);
58 } 58 }
59 59
60 code 60 code
61 a8(int i,int j,int k,code conv()) 61 a8(int i,int j,int k,code conv())
62 { 62 {
63 printf("#0070:a8 %d %s\n",i,print_conv(conv)); 63 printf("#0062:a8 %d %s\n",i,print_conv(conv));
64 goto (*conv)(i+1,j,k,exit0); 64 goto (*conv)(i+1,j,k,exit0);
65 } 65 }
66 66
67 code 67 code
68 a9(int i,int j,int k,code (*conv)()) 68 a9(int i,int j,int k,code (*conv)())
69 { 69 {
70 printf("#0077:a9 %d %s\n",i,print_conv(conv)); 70 printf("#0069:a9 %d %s\n",i,print_conv(conv));
71 goto (*conv)(0),env; 71 goto (*conv)(0),env;
72 } 72 }
73 73
74 main(int ac,char *av[]) { 74 main(int ac,char *av[]) {
75 exit0 = return; 75 exit0 = return;