mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge remote-tracking branch 'origin/develop' into HEAD
This commit is contained in:
@@ -41,6 +41,10 @@ contract c {
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// storage: empty
|
||||
// test_short() -> 1780731860627700044960722568376587075150542249149356309979516913770823710
|
||||
// storage: nonempty
|
||||
// test_long() -> 67
|
||||
// storage: nonempty
|
||||
// test_pop() -> 1780731860627700044960722568376592200742329637303199754547598369979433020
|
||||
// storage: nonempty
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
contract Test {
|
||||
bytes x;
|
||||
function set(bytes memory _a) public { x = _a; }
|
||||
}
|
||||
// ----
|
||||
// set(bytes): 0x20, 3, "abc"
|
||||
// storage: nonempty
|
||||
// set(bytes): 0x20, 0
|
||||
// storage: empty
|
||||
// set(bytes): 0x20, 31, "1234567890123456789012345678901"
|
||||
// storage: nonempty
|
||||
// set(bytes): 0x20, 36, "12345678901234567890123456789012", "XXXX"
|
||||
// storage: nonempty
|
||||
// set(bytes): 0x20, 3, "abc"
|
||||
// storage: nonempty
|
||||
// set(bytes): 0x20, 0
|
||||
// storage: empty
|
||||
// set(bytes): 0x20, 3, "abc"
|
||||
// storage: nonempty
|
||||
// set(bytes): 0x20, 36, "12345678901234567890123456789012", "XXXX"
|
||||
// storage: nonempty
|
||||
// set(bytes): 0x20, 0
|
||||
// storage: empty
|
||||
// set(bytes): 0x20, 66, "12345678901234567890123456789012", "12345678901234567890123456789012", "12"
|
||||
// storage: nonempty
|
||||
// set(bytes): 0x20, 3, "abc"
|
||||
// storage: nonempty
|
||||
// set(bytes): 0x20, 0
|
||||
// storage: empty
|
||||
Reference in New Issue
Block a user