solidity/test/libsolidity/semanticTests/enums/using_contract_enums_with_explicit_contract_name.sol
2020-03-19 14:42:25 +01:00

11 lines
165 B
Solidity

contract test {
enum Choice {A, B, C}
function answer() public returns (test.Choice _ret) {
_ret = test.Choice.B;
}
}
// ----
// answer() -> 1