solidity/test/libsolidity/syntaxTests/functionCalls/mapping_not_callable.sol

7 lines
128 B
Solidity
Raw Normal View History

contract C {
mapping (uint => uint) m;
uint a = m(1000);
}
// ----
// TypeError 5704: (56-63): Mapping is not callable.