solidity/test/libsolidity/syntaxTests/types/mapping/assignment_local.sol
2018-08-03 16:22:03 +02:00

12 lines
241 B
Solidity

contract test {
mapping(uint=>uint) map;
function fun() public view {
mapping(uint=>uint) storage a = map;
mapping(uint=>uint) storage b = map;
b = a;
(b) = a;
(b, b) = (a, a);
}
}
// ----