mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
14 lines
276 B
Solidity
14 lines
276 B
Solidity
contract C {
|
|
|
|
function f() public pure returns (uint, uint, uint) {
|
|
bytes memory a; bytes memory b; bytes memory c;
|
|
(a, (b, c)) = ("0", ("1", "2"));
|
|
return (uint8(a[0]), uint8(b[0]), uint8(c[0]));
|
|
}
|
|
|
|
}
|
|
// ====
|
|
// compileViaYul: also
|
|
// ----
|
|
// f() -> 0x30, 0x31, 0x32
|