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

6 lines
116 B
Solidity
Raw Normal View History

2018-04-17 09:39:40 +00:00
contract test {
constructor() external {}
}
// ----
// TypeError: (17-42): Constructor must be public or internal.