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

6 lines
117 B
Solidity

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