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.
12 lines
317 B
12 lines
317 B
6 years ago
|
pragma solidity ^0.5.0;
|
||
8 years ago
|
|
||
|
// This is for a test that verifies solcover can instrument a
|
||
|
// chained constructor/method call invoked by the new operator.
|
||
|
contract Chainable {
|
||
6 years ago
|
function chainWith(uint y, uint z) public {}
|
||
8 years ago
|
}
|
||
|
contract Test {
|
||
6 years ago
|
function a() public {
|
||
8 years ago
|
new Chainable().chainWith(3, 4);
|
||
|
}
|
||
|
}
|