1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-22 12:30:41 +00:00

test/val/postincdec: Test for the final val value

This commit is contained in:
Lauri Kasanen 2017-05-08 10:19:26 +03:00
parent 7adcde1707
commit 077b14ccfa

View File

@ -19,5 +19,5 @@ int main() {
array[val--] = 0;
array[val--] = 0;
return (array[0] == array[1] && array[0] == 0) ? 0 : 1;
return (array[0] == array[1] && array[0] == 0 && val == 0xff) ? 0 : 1;
}