You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
170 B
13 lines
170 B
6 years ago
|
pragma solidity ^0.5.0;
|
||
8 years ago
|
|
||
|
contract Test {
|
||
6 years ago
|
function a(uint x) public {
|
||
8 years ago
|
new Test2(x);
|
||
|
}
|
||
|
}
|
||
|
contract Test2 {
|
||
6 years ago
|
constructor(uint x) public {
|
||
8 years ago
|
x+1;
|
||
|
}
|
||
|
}
|