Files
Nim/tests/constructors/t5965_1.nim
2018-12-11 21:23:21 +01:00

11 lines
156 B
Nim

discard """
errormsg: "incorrect object construction syntax"
file: "t5965_1.nim"
line: 10
"""
type Foo = object
a, b, c: int
discard Foo(a: 1, 2)