solidity/test/libsolidity/syntaxTests/freeFunctions/free_function_visibility.sol

6 lines
201 B
Solidity
Raw Normal View History

2020-05-04 16:38:00 +00:00
function fun1() public { }
function fun2() internal { }
// ----
// SyntaxError 4126: (0-26): Free functions cannot have visibility.
// SyntaxError 4126: (27-55): Free functions cannot have visibility.