Diffstat (limited to 'test/r02_anchor_after_literal.clichec') (more/less context) (ignore 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 @@ +#include <iostream> +int main() { +const char *l3 = <%literal>line 3</%literal> ":"; int nl3 = __LINE__; +std::cout << l3 << nl3 << std::endl; +{<%output>line 5 (<% __LINE__ %>)</%output>} +int l6 = __LINE__; +std::cout << std::endl << "line 6: " << l6 << std::endl; +}; |