Adjusts tests to expect type errors on default visibility.

This commit is contained in:
Erik Kundt
2018-07-17 18:03:35 +02:00
parent b5ecfbe5bc
commit 75bba5c9f0
7 changed files with 7 additions and 18 deletions
@@ -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.
@@ -1,7 +0,0 @@
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.