mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 08:54:53 +00:00
12 lines
223 B
Nim
12 lines
223 B
Nim
discard """
|
|
errormsg: "identifier expected, but got 'keyword when'"
|
|
"""
|
|
|
|
# bug #2123
|
|
type num = enum
|
|
NUM_NONE = 0
|
|
NUM_ALL = 1
|
|
when defined(macosx): NUM_OSX = 10 # only this differs for real
|
|
NUM_XTRA = 20
|
|
|