summaryrefslogtreecommitdiffstats
path: root/tests/ui/for-loop-while/for-loop-panic.rs
blob: ac607d6d731507323cd45458714bc55e6b880be7 (plain)
1
2
3
4
// run-pass


pub fn main() { let x: Vec<isize> = Vec::new(); for _ in &x { panic!("moop"); } }