Merge pull request #9116 from ethereum/solYulCleanupFromStorageReference

New test for getters.
This commit is contained in:
chriseth 2020-06-11 14:08:10 +02:00 committed by GitHub
commit 0689cda19a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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