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

8 lines
138 B
Solidity
Raw Normal View History

contract C {
event e(uint a, string b);
function f() public {
emit e(2, "abc");
emit e({b: "abc", a: 8});
}
}