solidity/test/libsolidity/syntaxTests/literalSuffixes/usableAsSuffix/invalid_mapping_as_suffix.sol
2023-05-17 16:55:14 +02:00

7 lines
154 B
Solidity

contract C {
mapping (uint => uint) m;
uint a = 1000 m;
}
// ----
// TypeError 5704: (56-62): This expression cannot be used as a literal suffix.