solidity/test/libsolidity/syntaxTests/constructor/constructor_storage.sol
2022-04-01 23:41:18 -05:00

6 lines
225 B
Solidity

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