1 typedef short type; 2 3 short foo(type * sp,int a)4 foo (type *sp, int a) 5 { 6 type t; 7 int i; 8 9 t = sp[a]; 10 i = (int)(type)sp[a]; 11 if (i) 12 return 0; 13 return t; 14 } 15