summary refs log tree commit diff stats
path: root/tests/accept/compile/tthread_generic.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-08-07 21:02:09 +0200
committerAraq <rumpf_a@web.de>2011-08-07 21:02:09 +0200
commit5131b3cea4ba50970ef5d3313cbd8a75acadc2d7 (patch)
tree28391aa51f7011e381da3c23cd3aee483a78e4a6 /tests/accept/compile/tthread_generic.nim
parent7748dbc0b24756459e25e2f9f55a219f7d3faf50 (diff)
downloadNim-5131b3cea4ba50970ef5d3313cbd8a75acadc2d7.tar.gz
support for C++ code generation; importcpp and importobjc pragmas
Diffstat (limited to 'tests/accept/compile/tthread_generic.nim')
-rw-r--r--tests/accept/compile/tthread_generic.nim4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/accept/compile/tthread_generic.nim b/tests/accept/compile/tthread_generic.nim
index 4ef939408..beae4b652 100644
--- a/tests/accept/compile/tthread_generic.nim
+++ b/tests/accept/compile/tthread_generic.nim
@@ -1,3 +1,7 @@
+discard """
+  cmd: "nimrod cc --hints:on --threads:on $# $#"
+"""
+
 type
   TThreadFuncArgs[T] = object of TObject
     a: proc(): T {.thread.}