solidity/test/libsolidity/syntaxTests/constants/mapping_constant.sol

4 lines
153 B
Solidity
Raw Normal View History

2020-09-25 10:21:55 +00:00
mapping(uint => uint) constant b = b;
// ----
// DeclarationError 3530: (0-36): The type contains a (nested) mapping and therefore cannot be a constant.