We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b9e214 commit b817c3cCopy full SHA for b817c3c
tests/regression/39-signed-overflows/15-div-minus-1.c
@@ -0,0 +1,11 @@
1
+// PARAM: --enable ana.int.interval
2
+#include <limits.h>
3
+
4
+int main() {
5
+ int bad = INT_MIN / -1; // WARN
6
+ int x, y;
7
+ if (y != 0) {
8
+ bad = x / y; // TODO WARN
9
+ }
10
+ return 0;
11
+}
0 commit comments