(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr99122-3.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -g -w" } */
       3  
       4  static int foo ();
       5  
       6  int
       7  bar (int n)
       8  {
       9    return foo (n, 2.0);
      10  }
      11  
      12  static inline int
      13  foo (int n, struct T { char a[n]; } b)
      14  {
      15    int r = 0, i;
      16    for (i = 0; i < n; i++)
      17      r += b.a[i];
      18    return r;
      19  }