solidity/test/libsolidity/syntaxTests/constructor/external_constructor_new.sol
2018-04-18 14:24:35 +02:00

6 lines
116 B
Solidity

contract test {
constructor() external {}
}
// ----
// TypeError: (17-42): Constructor must be public or internal.