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

6 lines
212 B
Solidity

contract A {
constructor(function() internal) {}
}
// ----
// TypeError 4103: (29-49): Internal type is not allowed for public or external functions. You can make the contract abstract to avoid this problem.