solidity/test/libsolidity/syntaxTests/natspec/docstring_author_function.sol
2020-06-29 18:10:36 +02:00

7 lines
213 B
Solidity

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.