diff options
author | Teddy <[email protected]> | 2014-04-13 18:27:30 +0800 |
---|---|---|
committer | Teddy <[email protected]> | 2014-04-13 18:27:30 +0800 |
commit | 63d47979eff3736da8c479cf3eea6399c0179736 (patch) | |
tree | 79897af2697cb53e4c5df93dfd309edbb0a20f69 /testcases | |
parent | f881fd3eba1cafa1bea1f098ce8f383b4d6813ea (diff) |
...
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);
+}
|