Code coverage for Solidity smart-contracts
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.
 
 
 
solidity-coverage/test/sources/function/chainable-new.sol

12 lines
317 B

pragma solidity ^0.5.0;
// This is for a test that verifies solcover can instrument a
// chained constructor/method call invoked by the new operator.
contract Chainable {
function chainWith(uint y, uint z) public {}
}
contract Test {
function a() public {
new Chainable().chainWith(3, 4);
}
}