14 lines
No EOL
267 B
Text
14 lines
No EOL
267 B
Text
def constant() -> u32:
|
|
u32 res = 0
|
|
u32 x = 3
|
|
for u32 y in 0..x do
|
|
res = res + 1
|
|
endfor
|
|
return res
|
|
|
|
const u32 CONSTANT = 1 + constant()
|
|
|
|
const u32 OTHER_CONSTANT = 42
|
|
|
|
def main(field[CONSTANT] a) -> u32:
|
|
return CONSTANT + OTHER_CONSTANT |