From 5131b3cea4ba50970ef5d3313cbd8a75acadc2d7 Mon Sep 17 00:00:00 2001 From: Araq Date: Sun, 7 Aug 2011 21:02:09 +0200 Subject: support for C++ code generation; importcpp and importobjc pragmas --- tests/accept/compile/tthread_generic.nim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/accept/compile/tthread_generic.nim') 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.} -- cgit 1.4.1-2-gfad0