diff options
author | Araq <rumpf_a@web.de> | 2011-08-07 21:02:09 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-08-07 21:02:09 +0200 |
commit | 5131b3cea4ba50970ef5d3313cbd8a75acadc2d7 (patch) | |
tree | 28391aa51f7011e381da3c23cd3aee483a78e4a6 /tests/accept/compile/tthread_generic.nim | |
parent | 7748dbc0b24756459e25e2f9f55a219f7d3faf50 (diff) | |
download | Nim-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.nim | 4 |
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.} |