1extern void abort(void); 2typedef long GLint; 3void aglChoosePixelFormat (const GLint *); 4 5void 6find (const int *alistp) 7{ 8 const int *blist; 9 int list[32]; 10 if (alistp) 11 blist = alistp; 12 else 13 { 14 list[3] = 42; 15 blist = list; 16 } 17 aglChoosePixelFormat ((GLint *) blist); 18} 19 20void 21aglChoosePixelFormat (const GLint * a) 22{ 23 int *b = (int *) a; 24 if (b[3] != 42) 25 abort (); 26} 27 28int 29main (void) 30{ 31 find (0); 32 return 0; 33} 34