mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
24 lines
258 B
Solidity
24 lines
258 B
Solidity
contract A {
|
|
function f() public {
|
|
new B();
|
|
}
|
|
}
|
|
|
|
|
|
contract B {
|
|
function f() public {}
|
|
}
|
|
|
|
|
|
contract C {
|
|
function f() public {
|
|
new B();
|
|
}
|
|
}
|
|
|
|
// ====
|
|
// compileViaYul: also
|
|
// compileToEwasm: also
|
|
// ----
|
|
// constructor() ->
|