diff options
author | Danil Yarantsev <tiberiumk12@gmail.com> | 2020-06-25 06:38:08 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-24 20:38:08 -0700 |
commit | 03271593446f72cb99ebe8b68121999ba7ea8021 (patch) | |
tree | d40e776dd1f76a0a146c00385aaeaf5ea9c4140b /tests/async | |
parent | 80952cadaab41ab198a22be5f245eb2ea678ddfa (diff) | |
download | Nim-03271593446f72cb99ebe8b68121999ba7ea8021.tar.gz |
Add test-cases to some fixed issues to close them (#14795)
Diffstat (limited to 'tests/async')
-rw-r--r-- | tests/async/tasync_misc.nim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/async/tasync_misc.nim b/tests/async/tasync_misc.nim index 29e6faa72..ec1418e8c 100644 --- a/tests/async/tasync_misc.nim +++ b/tests/async/tasync_misc.nim @@ -74,3 +74,10 @@ block: # issue #13899 result = true doAssert waitFor testFooSucceed() doAssert waitFor testFooFails() + +block: # issue #9313 + doAssert compiles(block: + proc a() {.async.} = + echo "Hi" + quit(0) + ) |