t5965_2.nim 150 B

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