summaryrefslogtreecommitdiffstats
path: root/src/test/ui/catch-unwind-bang.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/catch-unwind-bang.rs')
-rw-r--r--src/test/ui/catch-unwind-bang.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/ui/catch-unwind-bang.rs b/src/test/ui/catch-unwind-bang.rs
deleted file mode 100644
index fb3503937..000000000
--- a/src/test/ui/catch-unwind-bang.rs
+++ /dev/null
@@ -1,10 +0,0 @@
-// run-pass
-// needs-unwind
-
-fn worker() -> ! {
- panic!()
-}
-
-fn main() {
- std::panic::catch_unwind(worker).unwrap_err();
-}