summary refs log tree commit diff stats
path: root/tests/compiles/t8630.nim
blob: 8b447d061093a9d84202eaa9bec5c1d09d1d6f34 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
discard """
  output: '''
foo
bar
'''
"""

proc test(strings: seq[string]) =
  for s in strings:
    var p3 = addr(s)
    echo p3[]

test(@["foo", "bar"])