summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/unreachable-fmt-msg.rs
blob: eb17ed92711c9593a23b260d9f4b1db6ca71952b (plain)
1
2
3
4
5
6
7
// run-fail
// error-pattern:internal error: entered unreachable code: 6 is not prime
// ignore-emscripten no processes

fn main() {
    unreachable!("{} is not {}", 6u32, "prime");
}