mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
15 lines
201 B
Plaintext
15 lines
201 B
Plaintext
var a = 0;
|
|
|
|
if (a++ >= 1) {
|
|
assert false, "increment postfix bugfix failed (first check)";
|
|
}
|
|
|
|
|
|
if (a++ >= 1) {
|
|
|
|
}
|
|
|
|
assert a == 2, "increment postfix bugfix failed (second check)";
|
|
|
|
|
|
print "All good"; |