scc

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

commit 32ceb290823b1ce38d54ab9117b9b2ff28c3a810
parent 38c7097175035acfa9408b3826c2c8306e20349a
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Mon,  1 Nov 2021 17:55:35 +0100

tests/cc: Fix 0177-literal.c

Diffstat:
Mtests/cc/execute/0177-literal.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/cc/execute/0177-literal.c b/tests/cc/execute/0177-literal.c @@ -1,6 +1,6 @@ -void boo(int *p) +int boo(int *p) { - return (*p[1] == 2) ? 0 : 1; + return (p[1] == 2) ? 0 : 1; } int main()