tcc -MD: drop system includes and duplicates
[tinycc.git] / tests / tests2 / 100_c99array-decls.c
blob46950aa2abc538af2508287dac4ffc6ab121b45c
1 void foo(int [5]);
2 void fooc(int x[const 5]);
3 void foos(int x[static 5]);
4 void foov(int x[volatile 5]);
5 void foor(int x[restrict 5]);
6 void fooc(int [const 5]);
7 void foos(int [static 5]);
8 void foov(int [volatile 5]);
9 void foor(int [restrict 5]);
10 void fooc(int (* const x));
11 void foos(int *x);
12 void foov(int * volatile x);
13 void foor(int * restrict x);
14 void fooc(int x[volatile 5])
16 x[3] = 42;
17 #ifdef INVALID
18 x = 0;
19 #endif
21 void foovm(int x[const *]);
22 void foovm(int * const x);
23 #ifdef INVALID
24 void wrongc(int x[3][const 4]);
25 void wrongvm(int x[static *]);
26 void foovm(int x[const *])
28 x[2] = 1;
30 #endif
31 int main()
33 return 0;