summaryrefslogtreecommitdiffstats
path: root/src/test/ui/panics/panic-macro-fmt.rs
blob: a755ebc0f4e3a91a55576b2cfd0a318fdbe14b42 (plain)
1
2
3
4
5
6
7
// run-fail
// error-pattern:panicked at 'test-fail-fmt 42 rust'
// ignore-emscripten no processes

fn main() {
    panic!("test-fail-fmt {} {}", 42, "rust");
}