diff options
Diffstat (limited to 'src/tests/eolian/data')
-rw-r--r-- | src/tests/eolian/data/enum.eo | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/tests/eolian/data/enum.eo b/src/tests/eolian/data/enum.eo index 49bc3697e1..3b16a2ac98 100644 --- a/src/tests/eolian/data/enum.eo +++ b/src/tests/eolian/data/enum.eo @@ -16,6 +16,17 @@ enum Baz { flag3 = 1 << 2 } +enum Value { + foo, + bar, + baz = 2, + bah, + bam, + pants +} + +const Pants: int = Value.pants; + const Bah: int = Baz.flag1; class Enum { |