summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2019-01-15 05:46:01 -0800
committerAndreas Rumpf <rumpf_a@web.de>2019-01-15 14:46:01 +0100
commitc05e9c7c736e471895794a397e677400822b0672 (patch)
tree49b2b057955000d7d5729c635692817cd387126f
parent05c52ff34f996bb44425bcc17ae3ae60ed896bef (diff)
downloadNim-c05e9c7c736e471895794a397e677400822b0672.tar.gz
fix twrong_refcounts in nim cpp mode (#10313)
-rw-r--r--tests/parallel/twrong_refcounts.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/parallel/twrong_refcounts.nim b/tests/parallel/twrong_refcounts.nim
index ac428762d..ed3c1b894 100644
--- a/tests/parallel/twrong_refcounts.nim
+++ b/tests/parallel/twrong_refcounts.nim
@@ -1,7 +1,10 @@
 discard """
   output: "Success"
+  target: "c"
 """
 
+# Note: target: "cpp" fails because we can't yet have `extern "C"` mangling in
+# `exportc` procs.
 import math, random, threadPool
 
 # ---