Rebase.
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr49603.c
blob90f51e5059cd1b1b8dc296179139203336e44c70
1 /* { dg-do compile } */
3 struct gl_visual {
4 float AlphaScale;
5 };
6 struct gl_context {
7 struct gl_visual *Visual;
8 };
9 void quickdraw_rgb( struct gl_context * ctx,
10 int width, int height)
12 int i, j;
13 unsigned char alpha[1600];
14 for (j=0; j<width; j++)
15 alpha[j] = (int) ctx->Visual->AlphaScale;
16 for (i=0; i<height; i++)
17 foo( alpha);