solidity/test/libsolidity/natspecJSON/dev_documenting_nonexistent_param.sol

9 lines
302 B
Solidity
Raw Normal View History

contract test {
/// @dev Multiplies a number by 7 and adds second parameter
/// @param a Documentation for the first parameter
/// @param not_existing Documentation for the second parameter
function mul(uint a, uint second) public returns (uint d) { return a * 7 + second; }
}
// ----