solidity/test/libsolidity/semanticTests/extracted/library_enum_as_an_expression.sol
2020-03-18 11:56:43 -05:00

15 lines
173 B
Solidity

library Arst {
enum Foo {Things, Stuff}
}
contract Tsra {
function f() public returns (uint256) {
Arst.Foo;
return 1;
}
}
// ----
// f() -> 1