scc

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

commit 661bc252516e229e3f3769956b1b16c8d40a95eb
parent a751f01c1134cd49c4b71f2d04f1293c65b065a6
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Wed, 15 Feb 2017 09:00:30 +0100

[tests] Fix test added in 6fe29dd

Tests must have a main function which returns 0.

Diffstat:
Mtests/execute/0110-typedefcast.c | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/tests/execute/0110-typedefcast.c b/tests/execute/0110-typedefcast.c @@ -1,2 +1,8 @@ typedef int myint; myint x = (myint)1; + +int +main(void) +{ + return x-1; +}