]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/threads-sendsync/child-outlives-parent.rs
2 // Reported as issue #126, child leaks the string.
4 // pretty-expanded FIXME #23616
5 // ignore-emscripten no threads support
9 fn child2(_s
: String
) { }
12 let _x
= thread
::spawn(move|| child2("hi".to_string()));