solidity/test/libsolidity/semanticTests/getters/mapping.sol
2022-05-19 20:23:28 +02:00

10 lines
189 B
Solidity

contract C {
mapping(uint => mapping(uint => uint)) public x;
constructor() {
x[1][2] = 3;
}
}
// ----
// x(uint256,uint256): 1, 2 -> 3
// x(uint256,uint256): 0, 0 -> 0