mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Cleanup from storage.
This commit is contained in:
parent
54a0d674cc
commit
81f54a170b
@ -0,0 +1,17 @@
|
|||||||
|
contract C {
|
||||||
|
struct S {
|
||||||
|
uint a;
|
||||||
|
bytes b;
|
||||||
|
mapping(uint => uint) c;
|
||||||
|
uint[] d;
|
||||||
|
}
|
||||||
|
uint shifter;
|
||||||
|
S public s;
|
||||||
|
constructor() public {
|
||||||
|
s.a = 7;
|
||||||
|
s.b = "abc";
|
||||||
|
s.c[0] = 9;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// ----
|
||||||
|
// s() -> 0x07, 0x40, 0x03, 0x6162630000000000000000000000000000000000000000000000000000000000
|
Loading…
Reference in New Issue
Block a user