mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
14 lines
201 B
Solidity
14 lines
201 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;
|
|
}
|
|
}
|
|
// ----
|