You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: regression/contracts/loop_assigns-fail/test.desc
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,11 @@
1
1
CORE
2
2
main.c
3
3
--apply-loop-contracts
4
-
activate-multi-line-match
5
-
Failed to infer variables being modified by the loop at file main.c line \d+ function main\.\nPlease specify an assigns clause\.\nReason:\nAlias analysis returned UNKNOWN!
6
-
^EXIT=6$
4
+
^EXIT=10$
7
5
^SIGNAL=0$
6
+
^\[main.assigns.\d+\] .* Check that i is assignable: SUCCESS$
7
+
^\[main.assigns.\d+\] .* Check that b->data\[(.*)i\] is assignable: FAILURE$
8
+
^VERIFICATION FAILED$
8
9
--
9
10
--
10
11
This test (taken from #6021) shows the need for assigns clauses on loops.
0 commit comments