diff options
author | Erik Kundt <bitshift@posteo.org> | 2018-07-11 21:57:34 +0800 |
---|---|---|
committer | Erik Kundt <bitshift@posteo.org> | 2018-07-16 20:49:55 +0800 |
commit | 63b6f1532ebb8e877c2d9afb8688d518bcfed86b (patch) | |
tree | 20361cd5d33377b7295f5b6a6293987fc5944b19 /test/libsolidity/syntaxTests | |
parent | 893f4cf092c98d13116741d1ebc19846f6873536 (diff) | |
download | dexon-solidity-63b6f1532ebb8e877c2d9afb8688d518bcfed86b.tar.gz dexon-solidity-63b6f1532ebb8e877c2d9afb8688d518bcfed86b.tar.zst dexon-solidity-63b6f1532ebb8e877c2d9afb8688d518bcfed86b.zip |
Specifies visibility in syntax test.
Diffstat (limited to 'test/libsolidity/syntaxTests')
-rw-r--r-- | test/libsolidity/syntaxTests/array/uninitialized_storage_var.sol | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/libsolidity/syntaxTests/array/uninitialized_storage_var.sol b/test/libsolidity/syntaxTests/array/uninitialized_storage_var.sol index 363d8147..f3be9071 100644 --- a/test/libsolidity/syntaxTests/array/uninitialized_storage_var.sol +++ b/test/libsolidity/syntaxTests/array/uninitialized_storage_var.sol @@ -1,9 +1,9 @@ contract C { - function f() { + function f() public { uint[] storage x; uint[10] storage y; } } // ---- -// DeclarationError: (31-47): Uninitialized storage pointer. -// DeclarationError: (51-69): Uninitialized storage pointer. +// DeclarationError: (38-54): Uninitialized storage pointer. +// DeclarationError: (58-76): Uninitialized storage pointer. |