Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / Warray-parameter-7.c
blob4863045be78ac72c8340481527f2956c39543b13
1 /* PR c/97206 - ICE in composite_type on declarations of a similar array types
2 { dg-do compile }
3 { dg-options "-Wall" } */
5 __attribute__((__access__(__write_only__, 1))) void
6 f1 (char* restrict);
8 void f1 (char*);
10 char a1[];
11 char a1[] = { };
14 void f2 (char[restrict]);
15 void f2 (char*);
17 char a2[];
18 char a2[] = { };
21 void f3 (char*);
22 void f3 (char[const]);
24 extern const char a3[];
25 extern const char a3[1];