summaryrefslogtreecommitdiffstats
path: root/tests/stack_unwinding_test_impl.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stack_unwinding_test_impl.c')
-rw-r--r--tests/stack_unwinding_test_impl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/stack_unwinding_test_impl.c b/tests/stack_unwinding_test_impl.c
index b0099f0..7518a2c 100644
--- a/tests/stack_unwinding_test_impl.c
+++ b/tests/stack_unwinding_test_impl.c
@@ -48,7 +48,7 @@ static void noinline do_crash() {
}
static void noinline foo() {
- char c1 __attribute__((cleanup(foo_cleanup)));
+ char c1 __attribute__((cleanup(foo_cleanup))) unused;
do_crash();
}