commit 760a799a2f1c88382865858fa3365265b12757f8 parent 08f88103ea809800c7a35dce23735ad2b2e43243 Author: Roberto E. Vargas Caballero <k0ga@shike2.com> Date: Sun, 31 Oct 2021 17:49:45 +0100 tests/cc: Add a second case for escapes in macros Diffstat:
| A | tests/cc/execute/0185-esc-macro2.c | | | 9 | +++++++++ |
| M | tests/cc/execute/scc-tests.lst | | | 1 | + |
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/tests/cc/execute/0185-esc-macro2.c b/tests/cc/execute/0185-esc-macro2.c @@ -0,0 +1,9 @@ +#define EXPECT_VALUE "{[\"-0123456789tfn" + +int +main() +{ + char *p = EXPECT_VALUE; + + return 0; +} diff --git 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