(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr103859.c
       1  /* PR middle-end/103859 */
       2  /* { dg-do compile } */
       3  /* { dg-options "" } */
       4  
       5  typedef struct dcmplx dcmplx;
       6  
       7  struct dcmplx {
       8    double re;
       9    double im;
      10  };
      11  
      12  dcmplx horner(int n, dcmplx p[n], dcmplx x);
      13  
      14  int main(void)
      15  {
      16    int i, n;
      17    dcmplx x[n + 1], f[n + 1];
      18  
      19    horner(n + 1, f, x[i]);
      20  
      21    return 0;
      22  }
      23