C++: Accept test output change

The new output looks correct, although I'm not sure if it's correct for
the right reasons.
This commit is contained in:
Jonas Jensen
2019-03-07 12:50:07 +01:00
parent b827e7a1ea
commit 50559d5e63
2 changed files with 2 additions and 1 deletions

View File

@@ -207,7 +207,7 @@ enum my_enum {
};
int myFunction6(enum my_enum e) {
if (e < 0) {
if (e < 0) { // BAD
return 1;
}
return 0;

View File

@@ -31,6 +31,7 @@
| PointlessComparison.c:126:12:126:18 | ... >= ... | Comparison is always true because a >= 20. |
| PointlessComparison.c:129:12:129:16 | ... > ... | Comparison is always false because a <= 3. |
| PointlessComparison.c:197:7:197:11 | ... < ... | Comparison is always false because x >= 0. |
| PointlessComparison.c:210:6:210:10 | ... < ... | Comparison is always false because e >= 0. |
| PointlessComparison.c:264:12:264:22 | ... >= ... | Comparison is always true because dbl >= 0 and -0 >= - .... |
| RegressionTests.cpp:57:7:57:22 | ... <= ... | Comparison is always true because * ... <= 4294967295. |
| Templates.cpp:9:10:9:24 | ... <= ... | Comparison is always true because local <= 32767. |