mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-03 03:32:32 +00:00
11 lines
209 B
Nim
11 lines
209 B
Nim
discard """
|
|
errormsg: "When mixing named fields and unnamed fields, every field needs to be initialized in order"
|
|
file: "t5965_1.nim"
|
|
line: 10
|
|
"""
|
|
|
|
type Foo = object
|
|
a, b, c: int
|
|
|
|
discard Foo(a: 1, 2)
|