enum A { X, Y }
function f() pure returns (A) { return A.X; }

// ----