solidity/test/libsolidity/syntaxTests/natspec/docstring_author_function.sol

7 lines
213 B
Solidity
Raw Normal View History

contract C {
/// @author author
function iHaveAuthor() public pure {}
}
// ----
// Warning 9843: (17-35): Documentation tag @author is only allowed on contract definitions. It will be disallowed in 0.7.0.