mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
195 B
Solidity
10 lines
195 B
Solidity
|
contract C {
|
||
|
mapping(uint a => mapping(uint b => uint c)) public x;
|
||
|
constructor() {
|
||
|
x[1][2] = 3;
|
||
|
}
|
||
|
}
|
||
|
// ----
|
||
|
// x(uint256,uint256): 1, 2 -> 3
|
||
|
// x(uint256,uint256): 0, 0 -> 0
|