blob: 2d5c9358752964fe15482ba28ddd3487ac359788 [file] [log] [blame]
fn main() {
Vec::<[(); 1 + for x in 0..1 {}]>::new();
//~^ ERROR cannot add
//~| ERROR `for` is not allowed in a `const`
}