scc

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

commit b0361eb8e544233e02128d5c2b7a7f40afbd15a2
parent 70065bd373fba3c7f1a2c601387ce8222197062d
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]