solidity/test/libsolidity/syntaxTests/constructor/two_constructors.sol
2020-07-07 12:16:18 +02:00

7 lines
137 B
Solidity

contract test {
constructor(uint) { }
constructor() {}
}
// ----
// DeclarationError 7997: (40-56): More than one constructor defined.