summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/macros/typesapi.nim4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/macros/typesapi.nim b/tests/macros/typesapi.nim
index cdbfc0ad2..04b8f0ae5 100644
--- a/tests/macros/typesapi.nim
+++ b/tests/macros/typesapi.nim
@@ -2,6 +2,7 @@ discard """
   nimout: '''proc (x: int): string => typeDesc[proc[string, int]]
 proc (x: int): void => typeDesc[proc[void, int]]
 proc (x: int) => typeDesc[proc[void, int]]'''
+x => uncheckedArray[int]
 """
 
 #2211
@@ -15,3 +16,6 @@ macro showType(t:typed): untyped =
 showType(proc(x:int): string)
 showType(proc(x:int): void)
 showType(proc(x:int))
+
+var x: UncheckedArray[int]
+showType(x)