This commit is contained in:
Araq
2015-02-14 18:11:52 +01:00
parent df2fdaf3c5
commit ece23d39bc
2 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
discard """
errormsg: "identifier expected, but found '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