2025-08-13 07:53:14 +00:00
|
|
|
// MIR test with static main pattern - simple loop without field access
|
2025-08-13 07:47:08 +00:00
|
|
|
static box Main {
|
|
|
|
|
init { counter, result }
|
|
|
|
|
|
|
|
|
|
main() {
|
2025-08-13 07:53:14 +00:00
|
|
|
local temp
|
|
|
|
|
temp = 0
|
|
|
|
|
loop(temp < 3) {
|
|
|
|
|
temp = temp + 1
|
2025-08-13 07:47:08 +00:00
|
|
|
}
|
2025-08-13 07:53:14 +00:00
|
|
|
return temp
|
2025-08-13 07:47:08 +00:00
|
|
|
}
|
|
|
|
|
}
|