scc

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

commit 6b5337c105c2380bf942f9dcdc304aa4b1ee4263
parent 81e0baee919e0e14cf019f9abd556ba4692b3dac
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Tue, 16 Nov 2021 08:22:18 +0100

tests/cc: Add 0193-incomplete.c

Diffstat:
Atests/cc/execute/0193-incomplete.c | 13+++++++++++++
Mtests/cc/execute/scc-tests.lst | 1+
2 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/tests/cc/execute/0193-incomplete.c b/tests/cc/execute/0193-incomplete.c @@ -0,0 +1,13 @@ +struct dummy; + +void * +fun(struct dummy p[]) +{ + return p; +} + +int +main() +{ + return 0 != fun(0); +} diff --git a/tests/cc/execute/scc-tests.lst b/tests/cc/execute/scc-tests.lst @@ -183,3 +183,4 @@ 0190-enum-ary.c 0191-ary-addr.c 0192-ptrcmp.c +0193-incomplete.c