From fe9bea0f1bedd73c9bcc4d5cf625660e313997ab Mon Sep 17 00:00:00 2001 From: Elichai Turkel Date: Wed, 22 May 2019 11:27:56 +0300 Subject: Added tests with typedef for array pointers --- tests/headers/with_array_pointers_arguments.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tests/headers/with_array_pointers_arguments.h') 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 -- cgit v1.2.3