1 /* PR tree-optimization/109215 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -Wall" } */
6 struct T
{ struct S s
[3]; struct S t
; };
12 foo (&t
->s
[2]); /* { dg-bogus "array subscript 2 is outside the bounds of an interior zero-length array" } */
18 foo (&t
->s
[3]); /* { dg-error "" "" { xfail *-*-* } } */