solidity/test/libsolidity/syntaxTests/visibility/function_no_visibility.sol

6 lines
119 B
Solidity

contract C {
function f() pure { }
}
// ----
// Warning: (17-38): No visibility specified. Defaulting to "public".