summary refs log tree commit diff stats
path: root/tests/compile/tdictdestruct.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-07-17 08:44:04 +0200
committerAraq <rumpf_a@web.de>2012-07-17 08:44:04 +0200
commit19e57bf70dddecdd0834b06099c2fd5f8ee0ad9e (patch)
tree1236385442dc79b0fad9c915a5c5dc730aeea9da /tests/compile/tdictdestruct.nim
parent526be8a4cfe7bddb16d3dcf4354e6695d7030a62 (diff)
downloadNim-19e57bf70dddecdd0834b06099c2fd5f8ee0ad9e.tar.gz
made some tests green
Diffstat (limited to 'tests/compile/tdictdestruct.nim')
-rwxr-xr-xtests/compile/tdictdestruct.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/compile/tdictdestruct.nim b/tests/compile/tdictdestruct.nim
index 09e173b7c..ec1084105 100755
--- a/tests/compile/tdictdestruct.nim
+++ b/tests/compile/tdictdestruct.nim
@@ -5,7 +5,7 @@ type
     v: TV
   PDict[TK, TV] = ref TDict[TK, TV]
 
-proc fakeNew[T](x: var ref T, destroy: proc (a: ref T)) =
+proc fakeNew[T](x: var ref T, destroy: proc (a: ref T) {.nimcall.}) =
   nil
 
 proc destroyDict[TK, TV](a: PDict[TK, TV]) =