We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a04830b + 9dca669 commit 2787f0aCopy full SHA for 2787f0a
1 file changed
cpp/ql/test/library-tests/ir/range-analysis/test.cpp
@@ -130,3 +130,13 @@ void test_div(int x) {
130
range(x >> 2); // $ range=>=0 range=<=2
131
}
132
133
+
134
+struct X { int n; };
135
+void read_argument(const X *);
136
137
+void nonterminating_without_operands_as_ssa(X *x) {
138
+ read_argument(x);
139
+ while (x->n) {
140
+ x->n--;
141
+ }
142
+}
0 commit comments