tests: Move run-pass tests without naming conflicts to ui
This commit is contained in:
parent
ca9faa52f5
commit
9be35f82c1
3226 changed files with 64 additions and 196 deletions
16
src/test/ui/unwind-unique.rs
Normal file
16
src/test/ui/unwind-unique.rs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
// run-pass
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![feature(box_syntax)]
|
||||
|
||||
use std::thread;
|
||||
|
||||
fn f() {
|
||||
let _a: Box<_> = box 0;
|
||||
panic!();
|
||||
}
|
||||
|
||||
pub fn main() {
|
||||
let t = thread::spawn(f);
|
||||
drop(t.join());
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue