scc

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

commit ca159744ce0e57a00d89f49dcd3617a1ef7e4761
parent ed1d2d62298cb6661c8cf31409f20c16c8c80851
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Wed, 16 Mar 2022 19:23:31 +0100

tests/cc: Add 0198-nullcpp.c

A line containing only a # is considered a null preprocessor clause.

Diffstat:
Atests/cc/execute/0198-nullcpp.c | 6++++++
Mtests/cc/execute/scc-tests.lst | 1+
2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/tests/cc/execute/0198-nullcpp.c b/tests/cc/execute/0198-nullcpp.c @@ -0,0 +1,6 @@ +# +int +main() +{ + return 0; +} diff --git a/tests/cc/execute/scc-tests.lst b/tests/cc/execute/scc-tests.lst @@ -188,3 +188,4 @@ 0195-unexpected.c 0196-invalidchar.c 0197-cppcomment.c +0198-nullcpp.c [TODO]