summary refs log tree commit diff stats
path: root/tests/pragmas/t6448.nim
blob: 6efb56e08ae38cb575fd3dbc022431b8cc5c8997 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
discard """
  errormsg: '''ambiguous call'''
  line: 10
  disabled: "32bit"
"""

import foobar
import asyncdispatch, macros

proc bar() {.async.} =
  echo 42

proc foo() {.async.} =
  await bar()

asyncCheck foo()
runForever()