scc

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

commit f32b47792675b766275a003f4a644973d72f89e7
parent b4bb95aaed9b85dc43d293e2c7310e81f0092005
Author: Roberto E. Vargas Caballero <k0ga@shike2.net>
Date:   Wed,  6 May 2026 21:15:55 +0200

libc/cc: Minor fixes

Diffstat:
Mtests/cc/execute/0025-string.c | 2+-
Mtests/cc/execute/0041-queen.c | 2+-
Mtests/cc/execute/0140-int_fold.c | 2--
Mtests/cc/execute/0270-union.c | 1-
4 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/tests/cc/execute/0025-string.c b/tests/cc/execute/0025-string.c @@ -1,4 +1,4 @@ -int strlen(char *); +#include <string.h> int main() diff --git a/tests/cc/execute/0041-queen.c b/tests/cc/execute/0041-queen.c @@ -1,4 +1,4 @@ -int *calloc(int, int); +#include <stdlib.h> int N; int *t; diff --git a/tests/cc/execute/0140-int_fold.c b/tests/cc/execute/0140-int_fold.c @@ -8,8 +8,6 @@ main(void) i = 3 * 6; i = 10 / 5; i = 10 % 5; - i = i % 0; - i = i % 0; i = 1 << 3; i = 8 >> 2; i = 12 & 4; diff --git a/tests/cc/execute/0270-union.c b/tests/cc/execute/0270-union.c @@ -33,7 +33,6 @@ static void static void sighdl(int signo) { - return 0; } int