11 lines
161 B
Rust
11 lines
161 B
Rust
//@ run-fail
|
|
//@ check-stdout
|
|
//@ compile-flags: --test
|
|
//@ ignore-emscripten
|
|
|
|
#[test]
|
|
#[should_panic(expected = "foobar")]
|
|
fn test_foo() {
|
|
panic!("blah")
|
|
}
|