solidity/test/libsolidity/syntaxTests/visibility/interface/function_public.sol

6 lines
125 B
Solidity

interface I {
function f() public;
}
// ----
// TypeError 1560: (15-35): Functions in interfaces must be declared external.