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

7 lines
137 B
Solidity
Raw Normal View History

contract test {
2020-06-23 12:14:24 +00:00
constructor(uint) { }
constructor() {}
}
// ----
2020-06-23 12:14:24 +00:00
// DeclarationError 7997: (40-56): More than one constructor defined.