shithub: scc

Download patch

ref: 8426988151d94d69a482e6275777d3f7275dbabe
parent: 1b51b30c2d7d831f8e8ef83b254fe6cd2052ff89
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Tue Mar 22 05:06:32 EDT 2022

tests/cc: Add test 0199-voidpcast.c

--- /dev/null
+++ b/tests/cc/execute/0199-voidpcast.c
@@ -1,0 +1,12 @@
+int
+casecmp(char *l2)
+{
+	unsigned char *l=(void*)l2;
+	return 0;
+}
+
+int
+main(void)
+{
+	return 0;
+}
--- a/tests/cc/execute/scc-tests.lst
+++ b/tests/cc/execute/scc-tests.lst
@@ -189,3 +189,4 @@
 0196-invalidchar.c
 0197-cppcomment.c
 0198-nullcpp.c
+0199-voidpcast.c [TODO]