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