solidity/test/libsolidity/semanticTests/various/contract_binary_dependencies.sol
2021-11-15 16:32:45 +01:00

25 lines
285 B
Solidity

contract A {
function f() public {
new B();
}
}
contract B {
function f() public {}
}
contract C {
function f() public {
new B();
}
}
// ====
// compileToEwasm: also
// compileViaYul: also
// ----
// constructor() ->
// gas irOptimized: 104337