solidity/test/libsolidity/syntaxTests/natspec/docstring_variable.sol
2021-04-08 17:06:24 +02:00

14 lines
340 B
Solidity

contract C {
function f() public pure returns (uint) {
/// @title example of title
/// @author example of author
/// @notice example of notice
/// @dev example of dev
/// @param example of param
/// @return example of return
uint state = 42;
return state;
}
}
// ----