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

10 lines
229 B
Solidity

contract Base {
constructor(uint) { }
}
contract Base1 is Base(3) {}
contract Derived is Base, Base1 {
constructor(uint i) Base(i) {}
}
// ----
// DeclarationError 3364: (131-138): Base constructor arguments given twice.