about summary refs log tree commit diff
path: root/tests/ui/issues/issue-50582.rs
blob: 1358e0bde4c8248e9c6f40587ac0fb4a4ac487c4 (plain)
1
2
3
4
fn main() {
    Vec::<[(); 1 + for x in 0..1 {}]>::new();
    //~^ ERROR cannot add
}