diff options
| author | Uneven Prankster <unevenprankster@protonmail.com> | 2023-07-17 01:34:34 -0300 |
|---|---|---|
| committer | Uneven Prankster <unevenprankster@protonmail.com> | 2023-07-17 01:34:34 -0300 |
| commit | 88d82c6eaee88398af1de57cddca692a1f74b087 (patch) | |
| tree | df492c2002a1820959703f4f481172cceafeb0a1 /tinycc/tests/tests2/100_c99array-decls.c | |
| parent | 111c133b939c15c57c90cd474d55e84928c6307a (diff) | |
Cleanup feels good! Big work coming up this week.
Diffstat (limited to 'tinycc/tests/tests2/100_c99array-decls.c')
| -rw-r--r-- | tinycc/tests/tests2/100_c99array-decls.c | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/tinycc/tests/tests2/100_c99array-decls.c b/tinycc/tests/tests2/100_c99array-decls.c deleted file mode 100644 index 46950aa..0000000 --- a/tinycc/tests/tests2/100_c99array-decls.c +++ /dev/null @@ -1,34 +0,0 @@ -void foo(int [5]); -void fooc(int x[const 5]); -void foos(int x[static 5]); -void foov(int x[volatile 5]); -void foor(int x[restrict 5]); -void fooc(int [const 5]); -void foos(int [static 5]); -void foov(int [volatile 5]); -void foor(int [restrict 5]); -void fooc(int (* const x)); -void foos(int *x); -void foov(int * volatile x); -void foor(int * restrict x); -void fooc(int x[volatile 5]) -{ - x[3] = 42; -#ifdef INVALID - x = 0; -#endif -} -void foovm(int x[const *]); -void foovm(int * const x); -#ifdef INVALID -void wrongc(int x[3][const 4]); -void wrongvm(int x[static *]); -void foovm(int x[const *]) -{ - x[2] = 1; -} -#endif -int main() -{ - return 0; -} |
