mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
239 B
Solidity
10 lines
239 B
Solidity
contract C {
|
|
event MyCustomEvent(uint);
|
|
function f() public {
|
|
bytes4 a = MyCustomEvent;
|
|
}
|
|
}
|
|
|
|
// ----
|
|
// TypeError 9574: (78-102): Type event MyCustomEvent(uint256) is not implicitly convertible to expected type bytes4.
|