solidity/test/libsolidity/syntaxTests/events/file_level_event_import.sol
2023-09-15 14:47:40 +02:00

13 lines
186 B
Solidity

==== Source: A.sol ====
event EA();
==== Source: B.sol ====
event EB();
==== Source: C.sol ====
import "A.sol";
import {EB} from "B.sol";
function f() {
emit EA();
emit EB();
}