From: Lauri Kasanen Date: Mon, 8 May 2017 07:19:26 +0000 (+0300) Subject: test/val/postincdec: Test for the final val value X-Git-Tag: V2.17~147^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=refs%2Fpull%2F425%2Fhead;p=cc65 test/val/postincdec: Test for the final val value --- diff --git a/test/val/postincdec.c b/test/val/postincdec.c index 19a6eb2a7..6d3e9593c 100644 --- a/test/val/postincdec.c +++ b/test/val/postincdec.c @@ -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; }