Sign in
fuchsia
/
third_party
/
rust
/
a7a6dedfe661a6d9d181afeb0fbaa894fcb7362b
/
.
/
src
/
test
/
ui
/
issues
/
issue-18767.rs
blob: 2a5721b7295e1a12b8973054181660aac117f6a0 [
file
] [
log
] [
blame
]
// run-pass
// Test that regionck uses the right memcat for patterns in for loops
// and doesn't ICE.
fn
main
()
{
for
&&
x in
Some
(&
0
_usize
).
iter
()
{
assert_eq
!(
x
,
0
)
}
}