mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 07:24:58 +00:00
18 lines
225 B
C++
18 lines
225 B
C++
auto f(auto cond1, auto cond2)
|
|
{
|
|
int a;
|
|
int b;
|
|
|
|
if (cond1) {
|
|
a = 1;
|
|
if (cond2) {
|
|
b = a;
|
|
} else {
|
|
b = 3;
|
|
}
|
|
} else {
|
|
b = 4;
|
|
}
|
|
|
|
return b;
|
|
}
|