diff options
Diffstat (limited to 'src/test/ui/panics/panic-task-name-owned.rs')
-rw-r--r-- | src/test/ui/panics/panic-task-name-owned.rs | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/test/ui/panics/panic-task-name-owned.rs b/src/test/ui/panics/panic-task-name-owned.rs deleted file mode 100644 index f85be7bb8..000000000 --- a/src/test/ui/panics/panic-task-name-owned.rs +++ /dev/null @@ -1,18 +0,0 @@ -// run-fail -// error-pattern:thread 'owned name' panicked at 'test' -// ignore-emscripten Needs threads. - -use std::thread::Builder; - -fn main() { - let r: () = Builder::new() - .name("owned name".to_string()) - .spawn(move || { - panic!("test"); - () - }) - .unwrap() - .join() - .unwrap(); - panic!(); -} |