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

6 lines
206 B
Solidity

contract A {
constructor(uint[] storage a) {}
}
// ----
// TypeError 3644: (29-45): This parameter has a type that can only be used internally. You can make the contract abstract to avoid this problem.