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