Sign in
fuchsia
/
third_party
/
rust
/
7dbfb0a8ca4ab74ee3111e57a024f9e6257ce37c
/
.
/
src
/
test
/
run-fail
/
issue-23354-2.rs
blob: 8f7baff56dc55bfbb5c6abd37badc5f8e291924c [
file
] [
log
] [
blame
]
// error-pattern:panic evaluated
#[
allow
(
unused_variables
)]
fn
main
()
{
// This used to trigger an LLVM assertion during compilation
let
x
=
[
panic
!(
"panic evaluated"
);
2
];
}