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

6 lines
136 B
Solidity
Raw Normal View History

contract C {
function f() pure { }
}
// ----
// SyntaxError 4937: (17-38): No visibility specified. Did you intend to add "public"?