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