diff options
author | Araq <rumpf_a@web.de> | 2017-05-16 22:09:37 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2017-05-16 22:09:37 +0200 |
commit | 943aaecbe751f76b53f1a8332b2bee1fa3a00fb2 (patch) | |
tree | cddf93c9aa8f420fe04c7310d93817eae75ac96f /tests | |
parent | ac3e7edfe43a6353da286fa9606319efaf8d60d3 (diff) | |
parent | 6599cae2810148d0a36d9c2d9be964d73c514559 (diff) | |
download | Nim-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.nim | 9 |
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) |