(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
Warray-parameter-7.c
       1  /* PR c/97206 - ICE in composite_type on declarations of a similar array types
       2     { dg-do compile }
       3     { dg-options "-Wall" } */
       4  
       5  __attribute__((__access__(__write_only__, 1))) void
       6  f1 (char* restrict);
       7  
       8  void f1 (char*);
       9  
      10  char a1[];
      11  char a1[] = { };
      12  
      13  
      14  void f2 (char[restrict]);
      15  void f2 (char*);
      16  
      17  char a2[];
      18  char a2[] = { };
      19  
      20  
      21  void f3 (char*);
      22  void f3 (char[const]);
      23  
      24  extern const char a3[];
      25  extern const char a3[1];