diff options
Diffstat (limited to 'tests/lexer')
-rw-r--r-- | tests/lexer/trawstr.nim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/lexer/trawstr.nim b/tests/lexer/trawstr.nim new file mode 100644 index 000000000..aa41071d5 --- /dev/null +++ b/tests/lexer/trawstr.nim @@ -0,0 +1,10 @@ +discard """ + errormsg: "closing \" expected" + file: "trawstr.nim" + line: 10 +""" +# Test the new raw strings: + +const + xxx = r"This is a raw string!" + yyy = "This not\" #ERROR |