blob: 85a35a2aca7c88f39b321fabd6da5ad30cc3c8f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#define N 2
void ok1(int []);
void ok2(int [N]);
void ok3(int [const volatile restrict]);
void ok4(int [const volatile restrict N]);
void ok5(int [static N]);
void ok6(int [static const volatile restrict N]);
void ok7(int [const volatile restrict static N]);
void ok1(int a[]);
void ok2(int a[N]);
void ok3(int a[const volatile restrict]);
void ok4(int a[const volatile restrict N]);
void ok5(int a[static N]);
void ok6(int a[static const volatile restrict N]);
void ok7(int a[const volatile restrict static N]);
/*
* check-name: abstract-array-declarator-quals
* check-known-to-fail
*/
|