re PR middle-end/58970 (internal compiler error: in get_bit_range, at expr.c:4562)
[gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr58970-1.c
1 /* PR middle-end/58970 */
2
3 struct T { int b : 1; };
4 struct S { struct T t[1]; };
5
6 void
7 foo (int x, struct S *s)
8 {
9 if (x == -1)
10 s->t[x].b = 0;
11 }