rust/src/test/run-pass/weak-lang-item.rs
2018-12-25 21:08:33 -07:00

15 lines
242 B
Rust

// 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()
});
}