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/solidity/contracts/function/chainable-new.sol

11 lines
313 B

pragma solidity ^0.7.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);
}
}