From 63d47979eff3736da8c479cf3eea6399c0179736 Mon Sep 17 00:00:00 2001 From: Teddy Date: Sun, 13 Apr 2014 18:27:30 +0800 Subject: ... --- testcases/array_decl.c | 6 ++++++ testcases/array_decl2.c | 7 +++++++ 2 files changed, 13 insertions(+) create mode 100644 testcases/array_decl.c create mode 100644 testcases/array_decl2.c (limited to 'testcases') diff --git a/testcases/array_decl.c b/testcases/array_decl.c new file mode 100644 index 0000000..33973e5 --- /dev/null +++ b/testcases/array_decl.c @@ -0,0 +1,6 @@ +int f(int a[1][3][2]) { +} +int main() { + int a[3][3][2]; + f(a); +} diff --git a/testcases/array_decl2.c b/testcases/array_decl2.c new file mode 100644 index 0000000..d7f8a04 --- /dev/null +++ b/testcases/array_decl2.c @@ -0,0 +1,7 @@ +int f(int a[20][2][2]); +int f(int a[1][3][2]) { +} +int main() { + int a[3][3][2]; + f(a); +} -- cgit v1.2.3-70-g09d2