mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 03:26:52 -04:00
60 lines
870 B
C
60 lines
870 B
C
int foo(int x){
|
|
if (x > 10)
|
|
return 10;
|
|
|
|
if (x > 10)
|
|
return 10;
|
|
else
|
|
return 10;
|
|
|
|
if (x > 20)
|
|
return 20;
|
|
else if (x > 15)
|
|
return 15;
|
|
else
|
|
return 10;
|
|
}
|
|
|
|
int bar(int x){
|
|
if (x > 20)
|
|
return 10;
|
|
else {
|
|
return 10;
|
|
}
|
|
|
|
if (x > 20)
|
|
return 10;
|
|
else if (x > 10) {
|
|
return 10;
|
|
}
|
|
}
|
|
|
|
int baz(int x){
|
|
if (x > 20)
|
|
return x;
|
|
else if(x > 10) {
|
|
if(x > 10) {
|
|
if(x > 10)
|
|
return 10;
|
|
if(x > 5) {
|
|
return 5;
|
|
}
|
|
}
|
|
}
|
|
|
|
if (x > 20)
|
|
if (x > 19)
|
|
if(x > 18)
|
|
return x;
|
|
|
|
if (x > 20)
|
|
return x;
|
|
else if (x > 19) {
|
|
if (x > 18)
|
|
return x;
|
|
else
|
|
x++;
|
|
}
|
|
else
|
|
return x;
|
|
}
|