scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit 392ff5e5970747862a91550c64e0a7455f2393f2
parent 6cd254e0d1efc6dd85c8c4e9c8e1fcea136553d1
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Thu, 11 Nov 2021 08:09:56 +0100

tests/cc: Improve 0139-ptr-ary.c

Different return values helps while debugging.

Diffstat:
Mtests/cc/execute/0139-ptr-ary.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/cc/execute/0139-ptr-ary.c b/tests/cc/execute/0139-ptr-ary.c @@ -12,11 +12,11 @@ main() if (arr[1][3] != 2) return 1; if (p[1][3] != 2) - return 1; + return 2; if (*q != 2) - return 1; + return 3; if (*v != 2) - return 1; + return 4; return 0; }