mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
10 lines
190 B
Rust
10 lines
190 B
Rust
// run-fail
|
|
// error-pattern:panicked at 'test-assert-owned'
|
|
// ignore-emscripten no processes
|
|
|
|
#![allow(non_fmt_panics)]
|
|
|
|
fn main() {
|
|
assert!(false, "test-assert-owned".to_string());
|
|
}
|