solidity/test/libsolidity/syntaxTests/constructor/two_constructors.sol

7 lines
146 B
Solidity
Raw Normal View History

contract test {
constructor(uint) public { }
constructor() public {}
}
// ----
// DeclarationError: (47-70): More than one constructor defined.