mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-24 14:34:23 +00:00
8 lines
161 B
Rust
8 lines
161 B
Rust
// run-fail
|
|
// error-pattern:panicked at 'test-fail-fmt 42 rust'
|
|
// ignore-emscripten no processes
|
|
|
|
fn main() {
|
|
panic!("test-fail-fmt {} {}", 42, "rust");
|
|
}
|