solidity/test/libsolidity/semanticTests/viaYul/mapping_string_key.sol

11 lines
202 B
Solidity
Raw Normal View History

contract C {
mapping (string => uint) map;
function set(string memory s) public {
map[s];
}
}
// ====
// compileViaYul: true
// ----
// set(string): 0x20, 32, "01234567890123456789012345678901" ->