1 /* { dg-do compile } */ 2 3 struct gl_visual { 4 float AlphaScale; 5 }; 6 struct gl_context { 7 struct gl_visual *Visual; 8 }; 9 void foo (char *); quickdraw_rgb(struct gl_context * ctx,int width,int height)10void quickdraw_rgb( struct gl_context * ctx, 11 int width, int height) 12 { 13 int i, j; 14 unsigned char alpha[1600]; 15 for (j=0; j<width; j++) 16 alpha[j] = (int) ctx->Visual->AlphaScale; 17 for (i=0; i<height; i++) 18 foo( alpha); 19 } 20 21