leo/tests/parser/statement/iteration.leo
2022-03-08 10:20:05 -08:00

18 lines
214 B
Plaintext

/*
namespace: ParseStatement
expectation: Pass
*/
for x: u8 in 0u8..7u8 {}
for x: i64 in 0i64..7i64 {
return ();
}
for x: field in 0field..99u8 {
return ();
}
for x: bool in 0u8..Self {
return ();
}