Diffstat (limited to 'test/r02_anchor_after_literal.clichec') (more/less context) (show whitespace changes)
-rw-r--r-- | test/r02_anchor_after_literal.clichec | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/r02_anchor_after_literal.clichec b/test/r02_anchor_after_literal.clichec new file mode 100644 index 0000000..c2049c0 --- a/dev/null +++ b/test/r02_anchor_after_literal.clichec | |||
@@ -0,0 +1,8 @@ | |||
1 | #include <iostream> | ||
2 | int main() { | ||
3 | const char *l3 = <%literal>line 3</%literal> ":"; int nl3 = __LINE__; | ||
4 | std::cout << l3 << nl3 << std::endl; | ||
5 | {<%output>line 5 (<% __LINE__ %>)</%output>} | ||
6 | int l6 = __LINE__; | ||
7 | std::cout << std::endl << "line 6: " << l6 << std::endl; | ||
8 | }; | ||