[bugfix] fixes #11524

This commit is contained in:
Andreas Rumpf 2019-06-22 01:52:49 +02:00
commit 79c721d418
3 changed files with 40 additions and 5 deletions

View file

@ -1,6 +1,6 @@
discard """
cmd: '''nim c --newruntime $file'''
output: '''442 442'''
output: '''443 443'''
"""
import strutils, os
@ -10,7 +10,6 @@ import system / ansi_c
# bug #11004
proc retTuple(): (seq[int], int) =
# XXX this doesn't allocate yet but probably it should
return (@[1], 1)
proc nonStaticTests =