shithub: scc

Download patch

ref: 6e9d1522e50e81ab34916a0cf02fd838db7771c8
parent: d5e80faa2bd461ee5c53ea81329347cb8a530369
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Sat Jun 18 05:42:55 EDT 2022

tests/cc: Add 0209-dowhile.c

--- /dev/null
+++ b/tests/cc/execute/0209-dowhile.c
@@ -1,0 +1,9 @@
+int
+main(void)
+{
+	if (1)
+		do { } while(0);
+	else
+		do { } while(0);
+	return 0;
+}
--- a/tests/cc/execute/scc-tests.lst
+++ b/tests/cc/execute/scc-tests.lst
@@ -199,3 +199,4 @@
 0206-initializer.c
 0207-structcb.c
 0208-sizeof.c
+0209-dowhile.c