mirror of
https://github.com/github/codeql.git
synced 2026-01-03 09:40:17 +01:00
13 lines
220 B
Java
13 lines
220 B
Java
public class A {
|
|
int f1(int x, int y) {
|
|
if (x < 0) {
|
|
return x; // strictly negative
|
|
}
|
|
if (x < y) {
|
|
return y; // y is strictly positive because of the bound on x above
|
|
}
|
|
|
|
return 0;
|
|
}
|
|
}
|