rust/tests/compile-fail/panic/windows2.rs
2020-03-22 08:55:39 +01:00

10 lines
208 B
Rust

// ignore-linux
// ignore-macos
// Test that panics on Windows give a reasonable error message.
// error-pattern: panicking is not supported on this target
fn main() {
std::panic!("this is Windows");
}