mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Adjusts tests to expect type errors on default visibility.
This commit is contained in:
@@ -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.
|
||||
Reference in New Issue
Block a user