mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-13 06:43:52 +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()
|