aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/functionTypes/function_types_internal_visibility_error.sol
blob: 36206d6344f5a95cdfae9a36339dd65123044e20 (plain) (blame)
1
2
3
4
5
6
7
contract C {
    // This is an error, you should explicitly use
    // `external public` to fix it - `internal public` does not exist.
    function(bytes memory) public a;
}
// ----
// TypeError: (139-170): Invalid visibility, can only be "external" or "internal".