blob: e45e09de8cc5aa7669d2515ac564e3b74a2ac1ec (
plain) (
blame)
1
2
3
4
5
6
7
|
contract C {
function f(uint size) public {
mapping(uint => uint) storage x = new mapping(uint => uint)[](4);
}
}
// ----
// TypeError: (94-117): Type cannot live outside storage.
|