Files
lib_compiler/tests/for2.txt
2024-04-13 15:29:53 +02:00

12 lines
164 B
Plaintext

A :: struct {
a: int;
}
main :: proc(): int {
result := 2;
for &:A{1} {result -= 1; break;}
for "asd" {result -= 1; break;}
return result;
}