summary refs log blame commit diff stats
path: root/tests/pragmas/t12558.nim
blob: 14fc74ceea6a365afb15aac10552ec31d1717928 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                
discard """
  nimout: '''@["1", "2", "3"]'''
"""

import sequtils

{.push compile_time.}

proc foo =
  echo map_it([1, 2, 3], $it)

{.pop.}

static:
  foo()