aboutsummaryrefslogtreecommitdiffstats
path: root/test_deliverable/testcases/test_ARRAY1.c
diff options
context:
space:
mode:
Diffstat (limited to 'test_deliverable/testcases/test_ARRAY1.c')
-rw-r--r--test_deliverable/testcases/test_ARRAY1.c5
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];
+}