solidity/test/libsolidity/syntaxTests/freeFunctions/free_function_visibility.sol
2020-08-18 11:46:59 +02:00

6 lines
201 B
Solidity

function fun1() public { }
function fun2() internal { }
// ----
// SyntaxError 4126: (0-26): Free functions cannot have visibility.
// SyntaxError 4126: (27-55): Free functions cannot have visibility.