Sign in
fuchsia
/
third_party
/
rust
/
794e22862c9fed17cdb8d4f3d650851c667bc78e
/
.
/
src
/
test
/
ui
/
pattern
/
const-pat-ice.rs
blob: 865c54be1ad7bec68f298668ae11a26ebe39f2a9 [
file
] [
log
] [
blame
]
// failure-status: 101
// rustc-env:RUST_BACKTRACE=0
// This is a repro test for an ICE in our pattern handling of constants.
const
FOO
:
&&&
u32
=
&&&
42
;
fn
main
()
{
match
unimplemented
!()
{
&&&
42
=>
{},
FOO
=>
{},
_
=>
{},
}
}