mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
11 lines
261 B
Solidity
11 lines
261 B
Solidity
pragma solidity ^0.4.3;
|
|
contract C {
|
|
event SomeEvent();
|
|
function a() public {
|
|
(emit SomeEvent(), 7);
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError: (95-106): Event invocations have to be prefixed by "emit".
|
|
// Warning: (95-106): Tuple component cannot be empty.
|