rust/tests/run-pass/panic2.rs
Aaron Hill 80f9484c86
Disable panic tests on Windows
Miri currently does not support `GetProcAddress`
and `GetModuleHandleW`, both of which end up getting invoked by the
libstd panic hook.
2019-11-17 13:49:31 -05:00

6 lines
166 B
Rust

// ignore-windows: Unwind panicking does not currently work on Windows
fn main() {
let val = "Value".to_string();
panic!("Miri panic with value: {}", val);
}