commit 1cd61f173ed9b75de10f8d8b6a68a8de8cc095cf parent 1b3b1bd29f481e0fca986153d78c672413b2419c Author: Roberto E. Vargas Caballero <k0ga@shike2.com> Date: Sun, 31 Oct 2021 15:31:25 +0100 tests/cc: Add test for escapes in macros Diffstat:
| A | tests/cc/execute/0184-esc-macro.c | | | 9 | +++++++++ |
| M | tests/cc/execute/scc-tests.lst | | | 1 | - |
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/tests/cc/execute/0184-esc-macro.c b/tests/cc/execute/0184-esc-macro.c @@ -0,0 +1,9 @@ +#define VALUE "ab\"c" + +int +main(void) +{ + const char *value = VALUE; + + return 0; +} diff --git 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