mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
17 lines
222 B
Solidity
17 lines
222 B
Solidity
|
// SPDX-License-Identifier: GPL-3.0
|
||
|
pragma solidity >=0.0;
|
||
|
library L {
|
||
|
event e1(uint b);
|
||
|
}
|
||
|
|
||
|
function f() {
|
||
|
emit L.e1(5);
|
||
|
}
|
||
|
|
||
|
contract C {
|
||
|
event e1(uint indexed a);
|
||
|
function g() public {
|
||
|
f();
|
||
|
}
|
||
|
}
|