rust/tests/ui/panics/panic-macro-fmt.rs
2023-01-11 09:32:08 +00:00

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");
}