about summary refs log tree commit diff
path: root/src/test/ui/panic-handler/auxiliary/weak-lang-items.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/panic-handler/auxiliary/weak-lang-items.rs')
-rw-r--r--src/test/ui/panic-handler/auxiliary/weak-lang-items.rs22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/test/ui/panic-handler/auxiliary/weak-lang-items.rs b/src/test/ui/panic-handler/auxiliary/weak-lang-items.rs
deleted file mode 100644
index 7a698cf76ae..00000000000
--- a/src/test/ui/panic-handler/auxiliary/weak-lang-items.rs
+++ /dev/null
@@ -1,22 +0,0 @@
-// no-prefer-dynamic
-
-// This aux-file will require the eh_personality function to be codegen'd, but
-// it hasn't been defined just yet. Make sure we don't explode.
-
-#![no_std]
-#![crate_type = "rlib"]
-
-struct A;
-
-impl core::ops::Drop for A {
-    fn drop(&mut self) {}
-}
-
-pub fn foo() {
-    let _a = A;
-    panic!("wut");
-}
-
-mod std {
-    pub use core::{option, fmt};
-}