blob: 51a6b9245cc7301af3f799e5a12a386d6069e53b [file] [log] [blame]
//@ compile-flags: --test -Zpanic-abort-tests
//@ run-flags: --test-threads=1
//@ check-run-results
//@ normalize-stdout: "finished in \d+\.\d+s" -> "finished in $$TIME"
//@ needs-threads
//@ run-pass
#[test]
fn test_ok() {
let _a = true;
}
#[test]
#[should_panic]
fn test_panic() {
panic!();
}
#[test]
#[ignore = "msg"]
fn test_no_run() {
loop {
println!("Hello, world");
}
}
fn main() {}