rust/tests/run-pass/panic1.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

5 lines
112 B
Rust

// ignore-windows: Unwind panicking does not currently work on Windows
fn main() {
panic!("Miri panic!");
}