summaryrefslogtreecommitdiff
path: root/tests/Ltest-init-local-signal-lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Ltest-init-local-signal-lib.c')
-rw-r--r--tests/Ltest-init-local-signal-lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Ltest-init-local-signal-lib.c b/tests/Ltest-init-local-signal-lib.c
index 45c0e7c1..7474f71f 100644
--- a/tests/Ltest-init-local-signal-lib.c
+++ b/tests/Ltest-init-local-signal-lib.c
@@ -1,6 +1,6 @@
#include <stdio.h>
/* To prevent inlining and optimizing away */
-int foo(int* f) {
+int foo(volatile int* f) {
return *f;
}