summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/regression/volatile1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/regression/volatile1.c b/test/regression/volatile1.c
index 3818c23..850bbed 100644
--- a/test/regression/volatile1.c
+++ b/test/regression/volatile1.c
@@ -2,8 +2,8 @@ volatile int v;
int f1(void) { return v; }
-int f2(void) { return v++; }
+void f2(void) { v = 42; }
-int f3(void) {return v / v + 1 + v; }
+int f3(void) { return v / v + 1 + v; }
void f4(void) { v; }