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

8 lines
193 B
Solidity

pragma experimental "v0.5.0";
interface I {
function f();
}
// ----
// SyntaxError: (45-58): No visibility specified.
// TypeError: (45-58): Functions in interfaces must be declared external.