Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (12 sloc) 279 Bytes
// run-pass
// ignore-emscripten no threads support
// pretty-expanded FIXME #23616
// Issue #922
// This test is specifically about spawning temporary closures.
use std::thread;
fn f() {
pub fn main() {
thread::spawn(move|| f() ).join();
You can’t perform that action at this time.