solidity/test/libsolidity/syntaxTests/viewPureChecker/mappings.sol
2018-06-06 15:41:41 +01:00

13 lines
193 B
Solidity

contract C {
mapping(uint => uint) a;
function f() view public {
a;
}
function g() view public {
a[2];
}
function h() public {
a[2] = 3;
}
}