t8630.nim 155 B

1234567891011121314
  1. discard """
  2. output: '''
  3. foo
  4. bar
  5. '''
  6. """
  7. proc test(strings: seq[string]) =
  8. for s in strings:
  9. var p3 = addr(s)
  10. echo p3[]
  11. test(@["foo", "bar"])