(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr103770.c
       1  /* PR middle-end/103770 */
       2  /* { dg-do compile } */
       3  /* { dg-options "" } */
       4  
       5  struct struct_s {
       6  	void* ptr;
       7  	void* ptr2;
       8  	void* ptr3;
       9  };
      10  
      11  struct struct_s struct_create(int N, const long vla[N]);
      12  
      13  void fun(int N)
      14  {
      15  	long vla[N];
      16  	struct struct_s st = struct_create(N, vla);
      17  }
      18  
      19  
      20  extern _Complex float g(int N, int dims[N]);
      21  
      22  void f(void)
      23  {
      24   	int dims[1];
      25  	_Complex float val = g(1, dims);
      26  }
      27