summary refs log tree commit diff stats
path: root/tests/accept/compile
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2010-11-07 21:42:00 +0100
committerAraq <rumpf_a@web.de>2010-11-07 21:42:00 +0100
commit7659739caf08e56fabf986932c7cd01151a5f40d (patch)
treec15e8d4c4272a771cf79e916f145c566684e32d2 /tests/accept/compile
parent7e356f6ef227c95746cd27b654bd41ae1c8e10d3 (diff)
downloadNim-7659739caf08e56fabf986932c7cd01151a5f40d.tar.gz
claro wrapper added
Diffstat (limited to 'tests/accept/compile')
-rwxr-xr-xtests/accept/compile/tgenericprocvar.nim5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/accept/compile/tgenericprocvar.nim b/tests/accept/compile/tgenericprocvar.nim
new file mode 100755
index 000000000..7825db4c3
--- /dev/null
+++ b/tests/accept/compile/tgenericprocvar.nim
@@ -0,0 +1,5 @@
+proc foo[T](thing: T) =
+    discard thing
+
+var a: proc (thing: int) = foo[int]
+