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

8 lines
156 B
Solidity
Raw Normal View History

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