PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / pr33726.c
blobe87cbc5657358a8c85b5326a5c192b1ef70d1e05
1 /* { dg-do compile } */
3 /* We used to ICE here with type-checking enabled. */
5 typedef unsigned int U032;
6 typedef volatile struct X {
7 U032 Monochrome[1];
8 struct {
9 U032 WidthHeight;
10 } UnclippedRectangle[1];
11 } RivaBitmap;
12 void writel(void *);
13 void rivafb_fillrect(RivaBitmap *bm)
15 writel((void *)&bm->UnclippedRectangle[0].WidthHeight);