aboutsummaryrefslogtreecommitdiffstats
path: root/test_deliverable/testcases/test_ARRAY0.c
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-03-24 22:46:06 +0000
committerYann Herklotz <ymherklotz@gmail.com>2017-03-24 22:46:06 +0000
commitb8738b8d582cba01aa1e944426b0251c9c42ff37 (patch)
tree7cebba0d549624fe40ca737178231fb52bd980fb /test_deliverable/testcases/test_ARRAY0.c
parent42156b87d0bc78eb8bac2c0e1cb41f105bbfc32b (diff)
downloadCompiler-b8738b8d582cba01aa1e944426b0251c9c42ff37.tar.gz
Compiler-b8738b8d582cba01aa1e944426b0251c9c42ff37.zip
Able to store arrays
Diffstat (limited to 'test_deliverable/testcases/test_ARRAY0.c')
-rw-r--r--test_deliverable/testcases/test_ARRAY0.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test_deliverable/testcases/test_ARRAY0.c b/test_deliverable/testcases/test_ARRAY0.c
new file mode 100644
index 0000000..fc70359
--- /dev/null
+++ b/test_deliverable/testcases/test_ARRAY0.c
@@ -0,0 +1,5 @@
+int array0(int a, int b, int c, int d, int e)
+{
+ int f[5] = { a, b, c, d, e };
+ return *f;
+}