solidity/test/libsolidity/syntaxTests/enums/global_enum.sol
2021-04-20 17:38:29 +02:00

9 lines
103 B
Solidity

enum E { A }
contract C {
function f() public pure {
E e = E.A;
e;
}
}
// ----