Sign in
rust
/
rust
/
08650fbb506c44fbc95d91abfb7cd95a56bbff30
/
.
/
src
/
test
/
ui
/
panic-handler
/
weak-lang-item-2.rs
blob: a429d8fabc72b0741db06316400ce1d92b2502f2 [
file
]
// 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
()
});
}