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

9 lines
121 B
Solidity

contract Lotto {
uint256 public ticketPrice = 500;
}
// ====
// compileViaYul: also
// ----
// ticketPrice() -> 500