aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/visibility/interface/function_default.sol
diff options
context:
space:
mode:
Diffstat (limited to 'test/libsolidity/syntaxTests/visibility/interface/function_default.sol')
-rw-r--r--test/libsolidity/syntaxTests/visibility/interface/function_default.sol1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/visibility/interface/function_default.sol b/test/libsolidity/syntaxTests/visibility/interface/function_default.sol
index 161d66e1..791ba87e 100644
--- a/test/libsolidity/syntaxTests/visibility/interface/function_default.sol
+++ b/test/libsolidity/syntaxTests/visibility/interface/function_default.sol
@@ -2,4 +2,5 @@ interface I {
function f();
}
// ----
+// SyntaxError: (15-28): No visibility specified. Did you intend to add "public"?
// TypeError: (15-28): Functions in interfaces must be declared external.