diff options
author | Elichai Turkel <elichai.turkel@gmail.com> | 2019-05-22 11:27:56 +0300 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2019-05-22 13:45:59 +0200 |
commit | fe9bea0f1bedd73c9bcc4d5cf625660e313997ab (patch) | |
tree | c5a1a48ed6f1dc19b773c6f9cde33365419fda08 /tests/headers/with_array_pointers_arguments.h | |
parent | fc762a5a5c4123602fe868b1836f09393dac1abc (diff) |
Added tests with typedef for array pointers
Diffstat (limited to 'tests/headers/with_array_pointers_arguments.h')
-rw-r--r-- | tests/headers/with_array_pointers_arguments.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/headers/with_array_pointers_arguments.h b/tests/headers/with_array_pointers_arguments.h index 34f669d0..565b3cf6 100644 --- a/tests/headers/with_array_pointers_arguments.h +++ b/tests/headers/with_array_pointers_arguments.h @@ -2,4 +2,9 @@ int test_fn(float a, int arr[20]); -int test_fn2(const float arr[20], int b);
\ No newline at end of file +int test_fn2(const float arr[20], int b); + +typedef char defArr[20]; +typedef void foo(defArr a); + +void bar(defArr a);
\ No newline at end of file |