Nim/tests/reject/topena1.nim

12 lines
156 B
Nim
Executable file

discard """
file: "topena1.nim"
line: 9
errormsg: "invalid type"
"""
# Tests a special bug
var
x: ref openarray[string] #ERROR_MSG invalid type