1  /* { dg-do compile } */
       2  /* { dg-options "-march=rv32gc -mabi=ilp32d" } */
       3  struct s1 { int : 0; float f; int i; int : 0; };
       4  
       5  void dummy(float, int);
       6  
       7  void f(struct s1 s) { /* { dg-warning "flattened struct" } */
       8    dummy(s.f + 1.0, s.i + 1);
       9  }