solidity/test/libsolidity/syntaxTests/visibility/interface/function_private.sol
2018-04-10 14:08:22 +02:00

6 lines
125 B
Solidity

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