// Test of simple enum - struct with enum

enum Color { RED, GREEN};

struct Button {
    enum Color color;
    byte size;
};

void main() {
    struct Button button = { RED, 24};
    const byte* SCREEN = 0x0400;
    SCREEN[0] = button.color;
    SCREEN[1] = button.size;
}

