aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/inheritance/base_arguments_empty_parentheses.sol
blob: b3fbd04ac9a72e11d15fd5356d41f5dd3dde2a1c (plain) (blame)
1
2
3
4
5
6
7
contract Base {
  constructor(uint) public {}
}
contract Derived is Base(2) { }
contract Derived2 is Base(), Derived() { }
// ----
// Warning: Wrong argument count for constructor call: 0 arguments given but expected 1.