| git.druid.rocks | index | druid520 | nscc | test/ | t29_short.nsc |
test/t29_short.nsc
global i32 calls = 0;
i32 once(i32 v) {
calls = calls + 1;
return v;
}
global i32 main(void) {
i32 a = once(0) && once(1);
i32 b = once(1) || once(0);
i32 c = once(0) ? once(9) : once(7);
return calls;
}