about summary refs log tree commit diff
path: root/src/test/ui/panic-handler/panic-handler-wrong-location.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/panic-handler/panic-handler-wrong-location.rs')
-rw-r--r--src/test/ui/panic-handler/panic-handler-wrong-location.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/test/ui/panic-handler/panic-handler-wrong-location.rs b/src/test/ui/panic-handler/panic-handler-wrong-location.rs
deleted file mode 100644
index dca59101805..00000000000
--- a/src/test/ui/panic-handler/panic-handler-wrong-location.rs
+++ /dev/null
@@ -1,8 +0,0 @@
-// compile-flags:-C panic=abort
-
-#![no_std]
-#![no_main]
-
-#[panic_handler] //~ ERROR `panic_impl` language item must be applied to a function
-#[no_mangle]
-static X: u32 = 42;