mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
165 B
Solidity
9 lines
165 B
Solidity
contract C {
|
|
mapping(int => int) a;
|
|
function f() public {
|
|
[a];
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError: (66-69): Type mapping(int256 => int256) is only valid in storage.
|