mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
8 lines
252 B
Solidity
8 lines
252 B
Solidity
|
|
contract C {
|
|
event E(uint);
|
|
function() internal pure x = E;
|
|
}
|
|
// ----
|
|
// TypeError 7407: (66-67): Type event E(uint256) is not implicitly convertible to expected type function () pure. Special functions can not be converted to function types.
|