scc

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

commit 52549a2648ebf58b4d31fae7290ad5651638046c
parent fb16e02819fe22bd86121505af1c58782ba18bba
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; }