solidity/test/libsolidity/syntaxTests/constructor/constructor_mapping_memory_abstract.sol
2020-07-07 12:16:18 +02:00

6 lines
209 B
Solidity

abstract contract A {
constructor(mapping(uint => uint) memory a) {}
}
// ----
// TypeError 4061: (38-68): Type mapping(uint256 => uint256) is only valid in storage because it contains a (nested) mapping.