aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/constructor/two_constructors.sol
blob: 42c0de28f496d5ef0e00d3fd03cdae47246d2e76 (plain) (blame)
1
2
3
4
5
6
contract test {
    constructor(uint) public { }
    constructor() public {}
}
// ----
// DeclarationError: (47-70): More than one constructor defined.