summary refs log tree commit diff stats
path: root/tests/async/tasync_forward.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/async/tasync_forward.nim')
-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