From fc762a5a5c4123602fe868b1836f09393dac1abc Mon Sep 17 00:00:00 2001 From: Elichai Turkel Date: Mon, 20 May 2019 15:56:36 +0300 Subject: Added tests for array pointers --- tests/headers/with_array_pointers_arguments.h | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/headers/with_array_pointers_arguments.h (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 new file mode 100644 index 00000000..34f669d0 --- /dev/null +++ b/tests/headers/with_array_pointers_arguments.h @@ -0,0 +1,5 @@ +// bindgen-flags: --use-array-pointers-in-arguments + +int test_fn(float a, int arr[20]); + +int test_fn2(const float arr[20], int b); \ No newline at end of file -- cgit v1.2.3