solidity/test/libsolidity/semanticTests/storage/simple_accessor.sol

12 lines
165 B
Solidity

contract test {
uint256 public data;
constructor() {
data = 8;
}
}
// ====
// compileToEwasm: also
// compileViaYul: also
// ----
// data() -> 8