diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-03-28 11:16:55 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-03-28 11:16:55 +0100 |
commit | c15bba765558e1017ef68f6d319141d4fb0b71fd (patch) | |
tree | fc432c5fdc9068439e2601c68c6e73f1f6ae4473 /test_deliverable/testcases/test_MULTARR0.c | |
parent | 28f3bd2ff6984d653709716e092a322d4de4e3ea (diff) | |
download | Compiler-c15bba765558e1017ef68f6d319141d4fb0b71fd.tar.gz Compiler-c15bba765558e1017ef68f6d319141d4fb0b71fd.zip |
can insert mult dim arrays
Diffstat (limited to 'test_deliverable/testcases/test_MULTARR0.c')
-rw-r--r-- | test_deliverable/testcases/test_MULTARR0.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test_deliverable/testcases/test_MULTARR0.c b/test_deliverable/testcases/test_MULTARR0.c new file mode 100644 index 0000000..c2072fc --- /dev/null +++ b/test_deliverable/testcases/test_MULTARR0.c @@ -0,0 +1,10 @@ +int multarr0(int a, int b, int c, int d, int e, int f) +{ + int x[3][2] = { + { a, b, }, + { c, d, }, + { e, f, }, + }; + + return x[1][0]; +} |