2019-07-01 13:24:05 +00:00
|
|
|
contract test {
|
|
|
|
function f(bool cond) public returns (uint, uint) {
|
|
|
|
return cond ? (1, 2) : (3, 4);
|
|
|
|
}
|
|
|
|
}
|
2020-04-17 20:24:33 +00:00
|
|
|
// ====
|
|
|
|
// compileViaYul: also
|
2019-07-01 13:24:05 +00:00
|
|
|
// ----
|
|
|
|
// f(bool): true -> 1, 2
|
|
|
|
// f(bool): false -> 3, 4
|