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

7 lines
129 B
Solidity

pragma experimental "v0.5.0";
contract C {
function f() pure { }
}
// ----
// SyntaxError: (47-68): No visibility specified.