enumeration types as array dimension