8 lines
75 B
Nim
8 lines
75 B
Nim
# Test enums
|
|
|
|
type
|
|
E = enum a, b, c, x, y, z
|
|
|
|
var
|
|
en: E
|
|
en = a
|