summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/assert-macro-owned.rs
blob: fb4b389b80b834449bf0cec96e3efcfeb4e0af28 (plain)
1
2
3
4
5
6
7
8
9
10
// run-fail
// error-pattern:panicked
// error-pattern:test-assert-owned
// ignore-emscripten no processes

#![allow(non_fmt_panics)]

fn main() {
    assert!(false, "test-assert-owned".to_string());
}