summary refs log tree commit diff stats
path: root/tests/async
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-07-19 20:44:08 +0200
committerAndreas Rumpf <rumpf_a@web.de>2016-07-19 20:44:08 +0200
commit67b024838c6084d628a97dd878e6162b64bb21d8 (patch)
tree88ae9d5f2210bc253de27d53e3f05eb57be43a62 /tests/async
parentd4573f176261d1953994c39bee15b29b3c2bef45 (diff)
downloadNim-67b024838c6084d628a97dd878e6162b64bb21d8.tar.gz
fixes #1970
Diffstat (limited to 'tests/async')
-rw-r--r--tests/async/tasync_forward.nim9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/async/tasync_forward.nim b/tests/async/tasync_forward.nim
new file mode 100644
index 000000000..ffb7acafd
--- /dev/null
+++ b/tests/async/tasync_forward.nim
@@ -0,0 +1,9 @@
+
+import asyncdispatch
+
+# bug #1970
+
+proc foo {.async.}
+
+proc foo {.async.} =
+  discard