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

6 lines
206 B
Solidity
Raw Normal View History

2020-07-06 13:47:40 +00:00
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.