Sign in
fuchsia
/
third_party
/
rust
/
9f7b58f3c94708f344237f826b4f96a659b5fc82
/
.
/
src
/
test
/
run-fail
/
test-should-panic-no-message.rs
blob: b18389ec7440e479e77f055a643a3f5675f578bc [
file
] [
log
] [
blame
]
// compile-flags: --test
// error-pattern:panicked at 'explicit panic'
// check-stdout
#[
test
]
#[
should_panic
(
expected
=
"foo"
)]
pub
fn
test_explicit
()
{
panic
!()
}