summaryrefslogtreecommitdiffstats
path: root/tests/ui/panics/fmt-panic.rs
blob: 87fb2e6dd54b9aa50d47e7bf6020f8187e3571f6 (plain)
1
2
3
4
5
6
7
8
// run-fail
// error-pattern:meh
// ignore-emscripten no processes

fn main() {
    let str_var: String = "meh".to_string();
    panic!("{}", str_var);
}