diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-05-25 15:40:06 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-05-25 15:40:06 +0200 |
commit | 427efeae13912b66e1c030c7645a2b1f322dff4d (patch) | |
tree | cb263ab770942ebbba3ea631288385b392c4e08c /unit-tests/cc/lexer | |
parent | 71d9aedda0919fb22e39d6e6ce60506ceb69812e (diff) |
Fix few bugs in C++ lexer and parser
Diffstat (limited to 'unit-tests/cc/lexer')
-rw-r--r-- | unit-tests/cc/lexer/preprocessor.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/unit-tests/cc/lexer/preprocessor.test b/unit-tests/cc/lexer/preprocessor.test index 2917649..e082062 100644 --- a/unit-tests/cc/lexer/preprocessor.test +++ b/unit-tests/cc/lexer/preprocessor.test @@ -36,3 +36,12 @@ $* <<EOI # 1 "test.cxx" 2 #line 8 "z:\\tmp\\test.hxx" EOI + +: nested +: +$* <<EOI >>EOO +#define FOO(x) #y +; +EOI +';' +EOO |