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
302 B

pragma solidity ^0.4.3;
// 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) {}
}
contract Test {
function a(){
new Chainable().chainWith(3, 4);
}
}