t5965_1.nim 156 B

1234567891011
  1. discard """
  2. errormsg: "incorrect object construction syntax"
  3. file: "t5965_1.nim"
  4. line: 10
  5. """
  6. type Foo = object
  7. a, b, c: int
  8. discard Foo(a: 1, 2)