3 // Test whether we don't ICE on questionable constructs where offsetof
4 // should have been used instead.
12 extern void bar (char *, char *);
17 char g[(char *) &((struct S *) 0)->b - (char *) 0]; // { dg-error "constant" }
18 char h[(__SIZE_TYPE__) &((struct S *) 8)->b]; // { dg-error "constant" "" { xfail *-*-* } }