solidity/test/libsolidity/ASTJSON/enum_value_declaration.sol
2021-02-11 10:50:54 +01:00

5 lines
71 B
Solidity

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