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

12 lines
215 B
Solidity
Raw Permalink Normal View History

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