1 2 3 4 5 6 7
//@ run-pass //@ needs-threads pub fn main() { let f = || || 0; std::thread::spawn(f()); }