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