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

11 lines
163 B
Solidity

library L {
enum Direction { Left, Right }
}
contract D {
function f() public pure returns (L.Direction) {
return L.Direction.Left;
}
}
// ----