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

6 lines
188 B
Solidity

contract test {
constructor() external {}
}
// ----
// SyntaxError 2462: (17-42): Visibility specified for constructor. If you want the contract to be non-deployable, make it "abstract".