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

6 lines
117 B
Solidity

contract test {
constructor() external {}
}
// ----
// TypeError 9239: (17-42): Constructor cannot have visibility.