ref: fe2b29d13bac3ab3c16490b859f452201c6b4c77
parent: 607e768887f2b705e4d855754ffd41009b16b078
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Sun Oct 31 13:49:45 EDT 2021
tests/cc: Add a second case for escapes in macros
--- /dev/null
+++ b/tests/cc/execute/0185-esc-macro2.c
@@ -1,0 +1,9 @@
+#define EXPECT_VALUE "{[\"-0123456789tfn"
+
+int
+main()
+{
+ char *p = EXPECT_VALUE;
+
+ return 0;
+}
--- a/tests/cc/execute/scc-tests.lst
+++ b/tests/cc/execute/scc-tests.lst
@@ -175,3 +175,4 @@
0182-voidcast.c [TODO]
0183-negenum.c
0184-esc-macro.c
+0185-esc-macro2.c