blob: 658cb02ebcf96c5b38ad48558f824567b2980716 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
discard """
output: "@[97]\ntrue"
"""
import asyncdispatch
proc test(): Future[bool] {.async.} =
const S4 = @[byte('a')]
echo S4
return true
echo waitFor test()
|