discard """
errormsg: "Error: ordinal type expected"
line: 10
"""

# https://github.com/nim-lang/Nim/issues/9908

type
    X = enum
        a = ("a", "b")

discard """
errormsg: "ordinal type expected"
line: 10
"""

# https://github.com/nim-lang/Nim/issues/9908

type
    X = enum
        a = ("a", "b")
