]> git.proxmox.com Git - rustc.git/blame - src/test/run-pass/weak-lang-item.rs
New upstream version 1.33.0+dfsg1
[rustc.git] / src / test / run-pass / weak-lang-item.rs
CommitLineData
1a4d82fc 1// aux-build:weak-lang-items.rs
223e47cc 2
7453a54e 3// ignore-emscripten no threads support
c34b1796
AL
4// pretty-expanded FIXME #23616
5
6extern crate weak_lang_items as other;
1a4d82fc 7
85aaf69f 8use std::thread;
223e47cc
LB
9
10fn main() {
85aaf69f 11 let _ = thread::spawn(move|| {
1a4d82fc 12 other::foo()
223e47cc 13 });
223e47cc 14}