summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2017-05-16 22:09:37 +0200
committerAraq <rumpf_a@web.de>2017-05-16 22:09:37 +0200
commit943aaecbe751f76b53f1a8332b2bee1fa3a00fb2 (patch)
treecddf93c9aa8f420fe04c7310d93817eae75ac96f /tests
parentac3e7edfe43a6353da286fa9606319efaf8d60d3 (diff)
parent6599cae2810148d0a36d9c2d9be964d73c514559 (diff)
downloadNim-943aaecbe751f76b53f1a8332b2bee1fa3a00fb2.tar.gz
Merge branch 'devel' of github.com:nim-lang/Nim into devel
Diffstat (limited to 'tests')
-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
index ffb7acafd..99527032f 100644
--- a/tests/async/tasync_forward.nim
+++ b/tests/async/tasync_forward.nim
@@ -7,3 +7,12 @@ proc foo {.async.}
 
 proc foo {.async.} =
   discard
+
+# With additional pragmas:
+proc bar {.async, cdecl.}
+
+proc bar {.async.} =
+  discard
+
+proc verifyCdeclPresent(p: proc : Future[void] {.cdecl.}) = discard
+verifyCdeclPresent(bar)