Specifies visibility in syntax test.

This commit is contained in:
Erik Kundt 2018-07-11 15:57:34 +02:00
parent 893f4cf092
commit 63b6f1532e

View File

@ -1,9 +1,9 @@
contract C { contract C {
function f() { function f() public {
uint[] storage x; uint[] storage x;
uint[10] storage y; uint[10] storage y;
} }
} }
// ---- // ----
// DeclarationError: (31-47): Uninitialized storage pointer. // DeclarationError: (38-54): Uninitialized storage pointer.
// DeclarationError: (51-69): Uninitialized storage pointer. // DeclarationError: (58-76): Uninitialized storage pointer.