Files
Nim/tests/errmsgs/t21257.nim
metagn ac982d8a96 close #21257 (#21275)
* close #21257

* fix generics
2023-01-18 21:40:00 +01:00

21 lines
360 B
Nim

discard """
action: compile
cmd: "nim check $file"
"""
type AC_WINCTRL_Fields* = distinct uint8
type AC_STATUSA_WSTATE0* {.pure.} = enum
ABOVE = 0x0,
INSIDE = 0x1,
BELOW = 0x2,
type AC_WINCTRL_WINTSEL0* {.pure.} = enum
ABOVE = 0x0,
INSIDE = 0x1,
BELOW = 0x2,
OUTSIDE = 0x3,
proc write*(WINTSEL0: AC_WINCTRL_WINTSEL0 = ABOVE) =
discard