mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
18 lines
312 B
Solidity
18 lines
312 B
Solidity
|
contract test {
|
||
|
function f3() public returns(int) {
|
||
|
int a = 3;
|
||
|
((, ), ) = ((7, 8), 9);
|
||
|
return a;
|
||
|
}
|
||
|
function f4() public returns(int) {
|
||
|
int a;
|
||
|
(a, ) = (4, (8, 16, 32));
|
||
|
return a;
|
||
|
}
|
||
|
}
|
||
|
// ====
|
||
|
// compileViaYul: false
|
||
|
// ----
|
||
|
// f3() -> 3
|
||
|
// f4() -> 4
|