1 2 3 4 5 6 7 8 9 10
// 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) } }