solidity/test/libsolidity/syntaxTests/array/uninitialized_storage_var.sol
2018-07-16 14:49:55 +02:00

10 lines
213 B
Solidity

contract C {
function f() public {
uint[] storage x;
uint[10] storage y;
}
}
// ----
// DeclarationError: (38-54): Uninitialized storage pointer.
// DeclarationError: (58-76): Uninitialized storage pointer.