This commit is contained in:
Andreas Rumpf 2019-08-10 15:41:24 +02:00
commit 212ae2f125
5 changed files with 26 additions and 2 deletions

View file

@ -2,6 +2,7 @@ discard """
cmd: '''nim cpp --newruntime $file'''
output: '''(field: "value")
Indeed
axc
0 new: 0'''
"""
@ -24,6 +25,11 @@ proc main =
echo w["key"][]
echo getEnv("HEAPTRASHING")
# bug #11891
var x = "abc"
x[1] = 'x'
echo x
main()
# bug #11745