summary refs log tree commit diff stats
path: root/tests/parallel/t9691.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/parallel/t9691.nim')
-rw-r--r--tests/parallel/t9691.nim9
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..254f03416
--- /dev/null
+++ b/tests/parallel/t9691.nim
@@ -0,0 +1,9 @@
+discard """
+  matrix: "--mm:refc; --mm:orc"
+  errormsg: "'spawn'ed function cannot have a 'typed' or 'untyped' parameter"
+"""
+
+# bug #9691
+
+import threadpool
+spawn echo()