summary refs log tree commit diff stats
path: root/tests/vm/tconstobj.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/vm/tconstobj.nim')
-rw-r--r--tests/vm/tconstobj.nim5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/vm/tconstobj.nim b/tests/vm/tconstobj.nim
index ac7148b59..93d0e1d7d 100644
--- a/tests/vm/tconstobj.nim
+++ b/tests/vm/tconstobj.nim
@@ -70,3 +70,8 @@ static: # issue #11861
   var ifb2: InheritedFromBase
   initBase(ifb2)
   doAssert(ifb2.txt == "Initialized string from base")
+
+
+static: # issue #15662
+  proc a(T: typedesc) = echo T.type
+  a((int, int))
\ No newline at end of file