summaryrefslogtreecommitdiff
path: root/tests/test-alloca-opt.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-alloca-opt.c')
-rw-r--r--tests/test-alloca-opt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-alloca-opt.c b/tests/test-alloca-opt.c
index 3f20779c..b2292175 100644
--- a/tests/test-alloca-opt.c
+++ b/tests/test-alloca-opt.c
@@ -29,7 +29,7 @@ do_allocation (int n)
(void) ptr;
}
-void (*func) (int) = do_allocation;
+void (*volatile func) (int) = do_allocation;
#endif