aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/inheritance/base_arguments_empty_parentheses.sol
blob: 0b18b995b05f85581cb12ef35126aa906037bfe2 (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: (101-107): Wrong argument count for constructor call: 0 arguments given but expected 1.