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