Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
panics
/
test-should-panic-bad-message.rs
blob: a82c4e1440aae1c3a467f7b87cb05c3703128b51 [
file
] [
log
] [
blame
]
// run-fail
// compile-flags: --test
// check-stdout
// ignore-emscripten no processes
#[
test
]
#[
should_panic
(
expected
=
"foo"
)]
pub
fn
test_bar
()
{
panic
!(
"bar"
)
}