mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
30 lines
510 B
Solidity
30 lines
510 B
Solidity
contract test {
|
|
/// @notice Multiplies `a` by 7
|
|
/// @dev Multiplies a number by 7
|
|
function mul(uint a) public returns (uint d) { return a * 7; }
|
|
}
|
|
|
|
// ----
|
|
// ----
|
|
// :test devdoc
|
|
// {
|
|
// "methods":
|
|
// {
|
|
// "mul(uint256)":
|
|
// {
|
|
// "details": "Multiplies a number by 7"
|
|
// }
|
|
// }
|
|
// }
|
|
//
|
|
// :test userdoc
|
|
// {
|
|
// "methods":
|
|
// {
|
|
// "mul(uint256)":
|
|
// {
|
|
// "notice": "Multiplies `a` by 7"
|
|
// }
|
|
// }
|
|
// }
|