mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Copy byte arrays from storage to storage.
This commit is contained in:
@@ -12,6 +12,8 @@ contract Test {
|
||||
return bytes(s).length;
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// f(string,uint256): 0x40, 0x02, 0x06, "abcdef" -> "c"
|
||||
// l() -> 0x06
|
||||
|
||||
Reference in New Issue
Block a user