mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-31 21:47:15 +03:00
6 lines
112 B
Rust
6 lines
112 B
Rust
//error-pattern: the evaluated program panicked
|
|
|
|
fn main() {
|
|
std::panic!("{}-panicking from libstd", 42);
|
|
}
|