diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-03-25 00:22:10 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-03-25 00:22:10 +0000 |
commit | f8d552b35e4897b18cc01777bb9725c59a3d5340 (patch) | |
tree | 73f5ca42d86cce43c152129f772043553d959974 /test_deliverable/testcases/test_ARRAY1.c | |
parent | e027bef26e25af8e3998d06942872bdcb36ee551 (diff) | |
download | Compiler-f8d552b35e4897b18cc01777bb9725c59a3d5340.tar.gz Compiler-f8d552b35e4897b18cc01777bb9725c59a3d5340.zip |
Arrays working i think
Diffstat (limited to 'test_deliverable/testcases/test_ARRAY1.c')
-rw-r--r-- | test_deliverable/testcases/test_ARRAY1.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test_deliverable/testcases/test_ARRAY1.c b/test_deliverable/testcases/test_ARRAY1.c new file mode 100644 index 0000000..347dbdb --- /dev/null +++ b/test_deliverable/testcases/test_ARRAY1.c @@ -0,0 +1,5 @@ +int array1(int a, int b, int c, int d, int e, int f) +{ + int x[5] = { a, b, c, d, e, }; + return x[f]; +} |