mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-30 03:57:37 +00:00
11 lines
192 B
Rust
11 lines
192 B
Rust
//@ run-fail
|
|
//@ error-pattern:panicked
|
|
//@ error-pattern:test-assert-owned
|
|
//@ needs-subprocess
|
|
|
|
#![allow(non_fmt_panics)]
|
|
|
|
fn main() {
|
|
assert!(false, "test-assert-owned".to_string());
|
|
}
|