solidity/test/libsolidity/syntaxTests/events/file_level_event_overloading.sol

12 lines
207 B
Solidity
Raw Normal View History

2023-09-07 14:13:10 +00:00
event E();
event E(uint);
event E(uint, string indexed, bytes, bool);
event E(int, int, int) anonymous;
function f() {
emit E();
emit E(1);
emit E(1, "abc", "abc", true);
emit E(1, 2, 3);
}