about summary refs log tree commit diff
path: root/src/test/ui/panic-handler
diff options
context:
space:
mode:
authorCaio <c410.f3r@gmail.com>2022-03-28 10:16:32 -0300
committerCaio <c410.f3r@gmail.com>2022-03-28 10:16:32 -0300
commit6947a772dd80161a5b1fd3be9c5aeee37f26a83e (patch)
tree7236b5fec7ebeb45819cd453774507e4faa3664c /src/test/ui/panic-handler
parentb3e46a9763d86a1681ddaaf0e60ce537302b9c92 (diff)
downloadrust-6947a772dd80161a5b1fd3be9c5aeee37f26a83e.tar.gz
rust-6947a772dd80161a5b1fd3be9c5aeee37f26a83e.zip
Remove duplicated and unused test files
Diffstat (limited to 'src/test/ui/panic-handler')
-rw-r--r--src/test/ui/panic-handler/weak-lang-item-2.rs15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/ui/panic-handler/weak-lang-item-2.rs b/src/test/ui/panic-handler/weak-lang-item-2.rs
new file mode 100644
index 00000000000..a429d8fabc7
--- /dev/null
+++ b/src/test/ui/panic-handler/weak-lang-item-2.rs
@@ -0,0 +1,15 @@
+// run-pass
+// aux-build:weak-lang-items.rs
+
+// ignore-emscripten no threads support
+// pretty-expanded FIXME #23616
+
+extern crate weak_lang_items as other;
+
+use std::thread;
+
+fn main() {
+    let _ = thread::spawn(move|| {
+        other::foo()
+    });
+}