solidity/test/libsolidity/syntaxTests/visibility/interface/function_private.sol
2022-04-01 23:41:18 -05:00

6 lines
150 B
Solidity

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