Sign in
fuchsia
/
third_party
/
rust
/
3c2fd1a72d2e8cc80b354b4d2dd7931a7afe1b02
/
.
/
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
)
}
}