[CPP-434] Incorporate test from BadAdditionOverflowCheck.

This commit is contained in:
Ziemowit Laski
2019-10-09 17:30:30 -07:00
parent 7fc47d496a
commit 1ab965761b

View File

@@ -79,3 +79,7 @@ bool func1(se *so) {
}
return true;
}
bool checkOverflow3(unsigned int a, unsigned short b) {
return (a + b < a); // GOOD
}