mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Added error codes to SyntaxTest expectations (updated tests)
This commit is contained in:
@@ -2,4 +2,4 @@ contract Foo {
|
||||
function f(uint[] storage constant x, uint[] memory y) internal { }
|
||||
}
|
||||
// ----
|
||||
// DeclarationError: (30-55): The "constant" keyword can only be used for state variables.
|
||||
// DeclarationError 1788: (30-55): The "constant" keyword can only be used for state variables.
|
||||
|
||||
Reference in New Issue
Block a user