aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/abstract-array-declarator-quals.c
blob: e69df902b895e330246ed0731802198352d548df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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
 */