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

8 lines
258 B
Solidity
Raw Normal View History

contract C {
/// @notice example of notice
/// @dev example of dev
uint private state;
}
// ----
// Warning 7816: (17-74): Documentation tag on non-public state variables will be disallowed in 0.7.0. You will need to use the @dev tag explicitly.