solidity/test/libsolidity/syntaxTests/constructor/constructor_internal_function.sol
2022-04-01 23:41:18 -05:00

6 lines
235 B
Solidity

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