mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
277 B
Solidity
12 lines
277 B
Solidity
pragma abicoder v2;
|
|
|
|
contract C {
|
|
function f() external pure returns (string[2] memory rdatas) {
|
|
rdatas = [hex'74000001', hex'c4a40001'];
|
|
}
|
|
}
|
|
// ====
|
|
// compileViaYul: also
|
|
// ----
|
|
// f() -> 0x20, 0x40, 0x80, 4, "t\0\0\x01", 4, "\xc4\xa4\0\x01"
|