mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
20 lines
245 B
Solidity
20 lines
245 B
Solidity
contract A {
|
|
constructor() public {
|
|
address(this).call("123");
|
|
}
|
|
}
|
|
|
|
|
|
contract B {
|
|
uint256 public test = 1;
|
|
|
|
function testIt() public {
|
|
A a = new A();
|
|
++test;
|
|
}
|
|
}
|
|
|
|
// ----
|
|
// testIt() ->
|
|
// test() -> 2
|