aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/monniaux/cse2/storeload.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/monniaux/cse2/storeload.c b/test/monniaux/cse2/storeload.c
index 3fa5b226..028fb835 100644
--- a/test/monniaux/cse2/storeload.c
+++ b/test/monniaux/cse2/storeload.c
@@ -1,4 +1,5 @@
int toto(int *p, int x) {
- *p = x;
+ p[0] = x;
+ p[1] = 3;
return *p;
}