about summary refs log tree commit diff
path: root/src/test/ui/numbers-arithmetic/int-abs-overflow.rs
diff options
context:
space:
mode:
authorDavid Koloski <djkoloski@gmail.com>2021-12-03 15:32:51 +0000
committerDavid Koloski <djkoloski@gmail.com>2021-12-09 22:03:52 +0000
commitea68758299a89556e67f0bfffffb19c0c8346e8a (patch)
treecfaa63a0c8e70dfba8e3204bf38df53d31cbca51 /src/test/ui/numbers-arithmetic/int-abs-overflow.rs
parent0b42deaccc2cbe17a68067aa5fdb76104369e1fd (diff)
downloadrust-ea68758299a89556e67f0bfffffb19c0c8346e8a.tar.gz
rust-ea68758299a89556e67f0bfffffb19c0c8346e8a.zip
Add needs-unwind to tests that depend on panicking
This directive isn't automatically set by compiletest or x.py, but can
be turned on manually for targets that require it.
Diffstat (limited to 'src/test/ui/numbers-arithmetic/int-abs-overflow.rs')
-rw-r--r--src/test/ui/numbers-arithmetic/int-abs-overflow.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/ui/numbers-arithmetic/int-abs-overflow.rs b/src/test/ui/numbers-arithmetic/int-abs-overflow.rs
index 9c6dff7e1a6..d63ba8cb03e 100644
--- a/src/test/ui/numbers-arithmetic/int-abs-overflow.rs
+++ b/src/test/ui/numbers-arithmetic/int-abs-overflow.rs
@@ -1,6 +1,7 @@
 // run-pass
 // compile-flags: -C overflow-checks=on
 // ignore-emscripten no threads support
+// needs-unwind
 
 use std::thread;