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

6 lines
126 B
Solidity
Raw Normal View History

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