Add more tests for enum

This commit is contained in:
Joey Yakimowich-Payne 2018-06-02 12:11:03 +09:00
commit f69523ff9c
4 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1 @@
enum color { RED, GREEN, BLUE} thecolor = RED;

View file

@ -0,0 +1,2 @@
type color = enum RED, GREEN, BLUE
var thecolor: color = RED

View file

@ -0,0 +1 @@
enum color { RED, GREEN, BLUE} thecolor;

View file

@ -0,0 +1,2 @@
type color = enum RED, GREEN, BLUE
var thecolor: color