summary refs log tree commit diff stats
path: root/tests/pragmas/t6448.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pragmas/t6448.nim')
-rw-r--r--tests/pragmas/t6448.nim17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/pragmas/t6448.nim b/tests/pragmas/t6448.nim
new file mode 100644
index 000000000..6efb56e08
--- /dev/null
+++ b/tests/pragmas/t6448.nim
@@ -0,0 +1,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()