summary refs log blame commit diff stats
path: root/tests/accept/run/tstrlits.nim
blob: 48ae08212763c55fcd6240d5ccb9b8ada9e549dc (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                            
# Test the new different string literals

const
  tripleEmpty = """"long string"""""""" # "long string """""
  
  rawQuote = r"a"""
  
  raw = r"abc""def"

stdout.write(rawQuote)
stdout.write(tripleEmpty)
stdout.write(raw)
#OUT a""long string"""""abc"def