blob: 72b6ce84fb57b2d7688e6419ce35101f047f063c (
plain) (
blame)
1
2
3
4
5
|
contract Foo {
function f(uint[] storage constant x, uint[] memory y) internal { }
}
// ----
// TypeError: (30-55): Data location has to be "memory" (or unspecified) for constants.
|