comparison test/inline.c @ 515:3d921f7a8e74

*** empty log message ***
author kono
date Mon, 26 Dec 2005 09:18:36 +0900
parents 2859bb9d5fb3
children bfa4c834a3b8
comparison
equal deleted inserted replaced
514:a2047e4555be 515:3d921f7a8e74
148 in2(6,0,2); 148 in2(6,0,2);
149 in2(8,j*3,in2(7,k+3,10-j)); 149 in2(8,j*3,in2(7,k+3,10-j));
150 fnp3(9,0,2); 150 fnp3(9,0,2);
151 } 151 }
152 152
153 static
154 inline int order(int a0,int a1,int a2, int a3, int a4)
155 {
156 printf("order %d %d %d %d %d\n",a0,a1,a2,a3,a4);
157 }
158
153 int 159 int
154 main(int ac,char *av[]) 160 main(int ac,char *av[])
155 { 161 {
156 fnp = ins1; 162 fnp = ins1;
163 order(1,2,3,4,5);
157 a0(5,6); 164 a0(5,6);
158 a0(-9,6); 165 a0(-9,6);
159 fnp3 = in2; 166 fnp3 = in2;
160 a1(9,10); 167 a1(9,10);
161 main0(ac,av); 168 main0(ac,av);
162 return 0; 169 return 0;
163 } 170 }
164 171
172