solidity/test/libsolidity/ASTJSON/event_emitted_from_foreign_contract.sol

11 lines
155 B
Solidity
Raw Normal View History

contract C {
event E(address indexed sender);
}
contract D {
function test(address sender) public {
emit C.E(msg.sender);
}
}
// ----