scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit fe2b29d13bac3ab3c16490b859f452201c6b4c77
parent 607e768887f2b705e4d855754ffd41009b16b078
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:
Atests/cc/execute/0185-esc-macro2.c | 9+++++++++
Mtests/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