mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-06 04:57:49 +00:00
18 lines
227 B
Nim
18 lines
227 B
Nim
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()
|