shithub: scc

Download patch

ref: ca159744ce0e57a00d89f49dcd3617a1ef7e4761
parent: ed1d2d62298cb6661c8cf31409f20c16c8c80851
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Wed Mar 16 15:23:31 EDT 2022

tests/cc: Add 0198-nullcpp.c

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

--- /dev/null
+++ b/tests/cc/execute/0198-nullcpp.c
@@ -1,0 +1,6 @@
+#
+int
+main()
+{
+	return 0;
+}
--- 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]