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

11 lines
142 B
Solidity
Raw Normal View History

2019-07-08 14:04:52 +00:00
contract test {
uint256 public data;
2020-06-23 12:14:24 +00:00
constructor() {
2019-07-08 14:04:52 +00:00
data = 8;
}
}
// ====
// compileToEwasm: also
2019-07-08 14:04:52 +00:00
// ----
// data() -> 8