solidity/test/libsolidity/syntaxTests/enums/global_enum.sol

7 lines
94 B
Solidity
Raw Normal View History

2019-09-02 09:52:51 +00:00
enum E { A }
contract C {
function f() public pure {
E e = E.A;
e;
}
}