Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
issues
/
issue-23354-2.rs
blob: 90de1276cc6bcb4dd12e02228606f66848600d65 [
file
] [
log
] [
blame
] [
edit
]
//@ run-fail
//@ error-pattern:panic evaluated
//@ ignore-emscripten no processes
#[
allow
(
unused_variables
)]
fn
main
()
{
// This used to trigger an LLVM assertion during compilation
let
x
=
[
panic
!(
"panic evaluated"
);
2
];
}