| git.druid.rocks | index | druid520 | nscc | test/ | t31_condstmt.nsc |
test/t31_condstmt.nsc
global i32 calls = 0;
i32 once(i32 v) {
calls = calls + 1;
return v;
}
global i32 main(void) {
i32 r = once(1) ? (once(2) ? once(3) : once(4)) : once(5);
return calls * 10 + r;
}