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

6 lines
125 B
Solidity
Raw Normal View History

interface I {
function f() private;
}
// ----
// TypeError: (15-36): Functions in interfaces cannot be internal or private.