blob: c73c7f32b605fdbf58fec2fc3b6283e20059daa4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
contract c {
mapping(uint => uint) y;
function f() view public {
mapping(uint => uint) calldata x = y;
x;
}
}
// ----
// TypeError: (81-113): Data location for mappings must be specified as "storage".
|