mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-02 15:56:09 +03:00
10 lines
217 B
Rust
10 lines
217 B
Rust
// ignore-linux
|
|
// ignore-macos
|
|
|
|
// Test that panics on Windows give a reasonable error message.
|
|
|
|
// error-pattern: panicking is not supported on this platform
|
|
fn main() {
|
|
core::panic!("this is {}", "Windows");
|
|
}
|