mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Specifies visibility in syntax test.
This commit is contained in:
parent
893f4cf092
commit
63b6f1532e
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user