parent
3be404af04
commit
673c5990c6
2 changed files with 20 additions and 1 deletions
15
tests/pragmas/t12558.nim
Normal file
15
tests/pragmas/t12558.nim
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
discard """
|
||||
nimout: '''@["1", "2", "3"]'''
|
||||
"""
|
||||
|
||||
import sequtils
|
||||
|
||||
{.push compile_time.}
|
||||
|
||||
proc foo =
|
||||
echo map_it([1, 2, 3], $it)
|
||||
|
||||
{.pop.}
|
||||
|
||||
static:
|
||||
foo()
|
||||
Loading…
Add table
Add a link
Reference in a new issue