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

6 lines
126 B
Solidity

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