summary refs log blame commit diff stats
path: root/tests/pragmas/t6448.nim
blob: a1bd747a0bc601330ccb1bb1c777a7bea4b64243 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
           
                                                   
         







                            
                      



                
discard """
  errormsg: '''ambiguous call; both foobar.async'''
  line: 9
"""

import foobar
import asyncdispatch, macros

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

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

asyncCheck foo()
runForever()