solidity/test/libsolidity/syntaxTests/constructor/calldata_constructor_args.sol
2020-07-07 12:16:18 +02:00

6 lines
191 B
Solidity

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