summaryrefslogtreecommitdiffstats
path: root/tests/codegen/unwind-abis/c-unwind-abi.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codegen/unwind-abis/c-unwind-abi.rs')
-rw-r--r--tests/codegen/unwind-abis/c-unwind-abi.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/codegen/unwind-abis/c-unwind-abi.rs b/tests/codegen/unwind-abis/c-unwind-abi.rs
index e258dbcac..fa5b6bad7 100644
--- a/tests/codegen/unwind-abis/c-unwind-abi.rs
+++ b/tests/codegen/unwind-abis/c-unwind-abi.rs
@@ -1,4 +1,5 @@
// compile-flags: -C opt-level=0
+// needs-unwind
// Test that `nounwind` attributes are correctly applied to exported `C` and `C-unwind` extern
// functions. `C-unwind` functions MUST NOT have this attribute. We disable optimizations above