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

6 lines
188 B
Solidity
Raw Normal View History

2018-04-17 09:39:40 +00:00
contract test {
constructor() external {}
}
// ----
2020-06-23 12:14:24 +00:00
// SyntaxError 2462: (17-42): Visibility specified for constructor. If you want the contract to be non-deployable, make it "abstract".