scc

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

commit 37988c26f7cc59b874f1007a4551e7b1c91512db
parent 3b73c0dce4c0649973bc9f933a83ba0a84b3475f
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()