mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
229 B
Solidity
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.
|