mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update tests.
This commit is contained in:
+1
-1
@@ -2,4 +2,4 @@ contract C {
|
||||
function f(uint[]) private pure {}
|
||||
}
|
||||
// ----
|
||||
// TypeError: (28-34): Storage location must be "storage" or "memory" for parameter in private function, but none was given.
|
||||
// TypeError: (28-34): Data location must be "storage" or "memory" for parameter in function, but none was given.
|
||||
|
||||
+1
-1
@@ -2,4 +2,4 @@ contract C {
|
||||
function f() private pure returns(uint[]) {}
|
||||
}
|
||||
// ----
|
||||
// TypeError: (51-57): Storage location must be "storage" or "memory" for parameter in private function, but none was given.
|
||||
// TypeError: (51-57): Data location must be "storage" or "memory" for return parameter in function, but none was given.
|
||||
|
||||
Reference in New Issue
Block a user