solidity/test/libsolidity/syntaxTests/constructor/two_constructors.sol
2022-04-01 23:41:18 -05:00

7 lines
156 B
Solidity

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