solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/233_non_initialized_references.sol
Daniel Kirchner 46d6454b1f Update tests.
2018-07-10 11:38:32 +02:00

12 lines
191 B
Solidity

contract C {
struct s {
uint a;
}
function f() public {
s storage x;
x.a = 2;
}
}
// ----
// DeclarationError: (84-95): Uninitialized storage pointer.