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