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

6 lines
126 B
Solidity

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