solidity/test/libsolidity/syntaxTests/inheritance/base_arguments_empty_parentheses.sol
2018-04-10 14:08:22 +02:00

8 lines
231 B
Solidity

contract Base {
constructor(uint) public {}
}
contract Derived is Base(2) { }
contract Derived2 is Base(), Derived() { }
// ----
// Warning: (101-107): Wrong argument count for constructor call: 0 arguments given but expected 1.