]> git.lizzy.rs Git - rust.git/blob - tests/ui/panic-handler/weak-lang-item-2.rs
Rollup merge of #106692 - eggyal:mv-binary_heap.rs-binary_heap/mod.rs, r=Mark-Simulacrum
[rust.git] / tests / ui / panic-handler / weak-lang-item-2.rs
1 // run-pass
2 // aux-build:weak-lang-items.rs
3
4 // ignore-emscripten no threads support
5 // pretty-expanded FIXME #23616
6
7 extern crate weak_lang_items as other;
8
9 use std::thread;
10
11 fn main() {
12     let _ = thread::spawn(move|| {
13         other::foo()
14     });
15 }