solidity/test/libsolidity/syntaxTests/constructor/calldata_constructor_args.sol

6 lines
191 B
Solidity
Raw Normal View History

contract C {
constructor(uint[] calldata) public {}
}
// ----
2020-06-23 12:14:24 +00:00
// TypeError 6651: (29-44): Data location must be "storage" or "memory" for parameter in function, but "calldata" was given.