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

8 lines
156 B
Solidity

contract base {
event e(uint a, bytes3 indexed s, bool indexed b);
}
contract c is base {
function f() public { emit e(2, "abc", true); }
}
// ----