summaryrefslogtreecommitdiffstats
path: root/data/accumulator.c
diff options
context:
space:
mode:
Diffstat (limited to 'data/accumulator.c')
-rw-r--r--data/accumulator.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/data/accumulator.c b/data/accumulator.c
index f8b5e32..217851c 100644
--- a/data/accumulator.c
+++ b/data/accumulator.c
@@ -1,4 +1,5 @@
int main() {
- int x[1] = {3};
- return x[0];
+ int x[2] = {3, 6};
+ int i = 1;
+ return x[i];
}