blob: 6f3cd2d53afddcab562dd3a6427fabf73b5b34e4 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-fsanitize=bounds" } */
struct T { int c; char d[]; } t = { 1, "abcdefg" };
int
baz (int i)
{
return t.d[i];
}