solidity/test/libsolidity/ASTJSON/enum_value_declaration.sol

5 lines
71 B
Solidity
Raw Normal View History

2021-02-11 08:49:29 +00:00
enum A { X, Y }
function f() pure returns (A) { return A.X; }
// ----