1  /* { dg-do compile } */
       2  /* { dg-options "-fsanitize=bounds" } */
       3  
       4  struct T { int c; char d[]; } t = { 1, "abcdefg" };
       5  
       6  int
       7  baz (int i)
       8  {
       9    return t.d[i];
      10  }
       1  /* { dg-do compile } */
       2  /* { dg-options "-fsanitize=bounds" } */
       3  
       4  struct T { int c; char d[]; } t = { 1, "abcdefg" };
       5  
       6  int
       7  baz (int i)
       8  {
       9    return t.d[i];
      10  }