solidity/test/libsolidity/semanticTests/accessor/accessor_for_state_variable.sol

9 lines
121 B
Solidity
Raw Normal View History

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