solidity/test/libsolidity/syntaxTests/natspec/docstring_private_state_variable.sol
2020-06-22 18:56:32 +02:00

8 lines
217 B
Solidity

contract C {
/// @notice example of notice
/// @dev example of dev
uint private state;
}
// ----
// DocstringParsingError 6546: (17-74): Documentation tag @notice not valid for non-public state variables.