diff options
author | flywind <xzsflywind@gmail.com> | 2021-04-20 21:39:58 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-20 15:39:58 +0200 |
commit | c776498170a2a08a67b1317d8965482cf266a733 (patch) | |
tree | b8caa292643350360c8a03a0866396332b5ef55d /tests/parallel/t9691.nim | |
parent | 54fe44135ee447c167b4a3a2d6ec5ff7855688ea (diff) | |
download | Nim-c776498170a2a08a67b1317d8965482cf266a733.tar.gz |
close #9691 and close #10913('spawn'ed function cannot have a 'typed' or 'untyped' parameter) (#17775)
Diffstat (limited to 'tests/parallel/t9691.nim')
-rw-r--r-- | tests/parallel/t9691.nim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/parallel/t9691.nim b/tests/parallel/t9691.nim new file mode 100644 index 000000000..bbf2b1bc7 --- /dev/null +++ b/tests/parallel/t9691.nim @@ -0,0 +1,9 @@ +discard """ + matrix: "--threads:on" + errormsg: "'spawn'ed function cannot have a 'typed' or 'untyped' parameter" +""" + +# bug #9691 + +import threadpool +spawn echo() |