Nim/tests/reject/typredef.nim
2013-12-28 14:17:36 +02:00

8 lines
166 B
Nim

discard """
file: "typredef.nim"
line: 7
errormsg: "illegal recursion in type \'Uint8\'"
"""
type
Uint8 = Uint8 #ERROR_MSG illegal recursion in type 'Uint8'