blob: b643e63c096907b157dc6135e6d50dd09339a246 [file] [log] [blame]
// gate-test-const_for
const _: () = {
for _ in 0..5 {}
//~^ ERROR cannot use `for`
//~| ERROR cannot use `for`
};
fn main() {}