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