Files
Nim/tests/reject/temptycaseobj.nim
2011-07-10 15:48:13 +02:00

15 lines
230 B
Nim
Executable File

discard """
line: 11
errormsg: "identifier expected, but found '[same indentation]'"
"""
type
TMyEnum = enum enA, enU, enO
TMyCase = object
case e: TMyEnum
of enA:
of enU: x, y: int
of enO: a, b: string