aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/visibility/interface/function_public050.sol
blob: f957f0b4c5645f8c92526ccf4ce1869d84a0debd (plain) (blame)
1
2
3
4
5
6
pragma experimental "v0.5.0";
interface I {
    function f() public;
}
// ----
// TypeError: Functions in interfaces must be declared external.