diff options
Diffstat (limited to 'testcases')
-rw-r--r-- | testcases/array_decl.c | 6 | ||||
-rw-r--r-- | testcases/array_decl2.c | 7 |
2 files changed, 13 insertions, 0 deletions
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);
+}
|