shithub: scc

Download patch

ref: 1cd61f173ed9b75de10f8d8b6a68a8de8cc095cf
parent: 1b3b1bd29f481e0fca986153d78c672413b2419c
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Sun Oct 31 11:31:25 EDT 2021

tests/cc: Add test for escapes in macros

--- /dev/null
+++ b/tests/cc/execute/0184-esc-macro.c
@@ -1,0 +1,9 @@
+#define VALUE "ab\"c"
+
+int
+main(void)
+{
+	const char *value = VALUE;
+	
+	return 0;
+}
--- a/tests/cc/execute/scc-tests.lst
+++ b/tests/cc/execute/scc-tests.lst
@@ -1,4 +1,3 @@
-0184-esc-macro.c
 0001-sanity.c
 0002-expr.c
 0003-local.c