mirror of
https://github.com/github/codeql.git
synced 2026-04-29 02:35:15 +02:00
C++: fix test
This commit is contained in:
@@ -10,6 +10,8 @@
|
||||
| bounded_bounds.c:5:7:5:7 | Load: x | positive |
|
||||
| bounded_bounds.c:6:11:6:11 | Load: y | positive strictlyPositive |
|
||||
| bounded_bounds.c:6:11:6:11 | Store: y | positive strictlyPositive |
|
||||
| bounded_bounds.c:16:12:16:12 | Load: x | negative strictlyNegative |
|
||||
| bounded_bounds.c:16:12:16:12 | Store: x | negative strictlyNegative |
|
||||
| inline_assembly.c:9:23:9:23 | Uninitialized: definition of y | positive |
|
||||
| inline_assembly.c:10:3:10:7 | Store: ... = ... | positive strictlyPositive |
|
||||
| inline_assembly.c:10:7:10:7 | Constant: (unsigned int)... | positive strictlyPositive |
|
||||
|
||||
@@ -10,7 +10,7 @@ int f(int x, int y) {
|
||||
|
||||
int g(int x, int y) {
|
||||
if (x < y) {
|
||||
return y
|
||||
return y;
|
||||
}
|
||||
if (x < 0) {
|
||||
return x;
|
||||
|
||||
Reference in New Issue
Block a user