C++: fix test

This commit is contained in:
Robert Marsh
2018-11-09 10:15:28 -08:00
parent 4fdc992cd9
commit d9495da225
2 changed files with 3 additions and 1 deletions

View File

@@ -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 |

View File

@@ -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;