solidity/test/libsolidity/syntaxTests/errors/weird1.sol
2021-03-30 21:15:18 +02:00

8 lines
244 B
Solidity

error E();
contract C {
function() internal pure x = E;
}
// ----
// TypeError 7407: (58-59): Type function () pure is not implicitly convertible to expected type function () pure. Special functions can not be converted to function types.