t21893.nim 171 B

1234567891011121314
  1. discard """
  2. output: "@[97]\ntrue"
  3. """
  4. import asyncdispatch
  5. proc test(): Future[bool] {.async.} =
  6. const S4 = @[byte('a')]
  7. echo S4
  8. return true
  9. echo waitFor test()