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