Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Jowett <[email protected]>
  • Loading branch information
Alan Jowett committed Oct 25, 2024
1 parent 8f5038d commit 6d5d554
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions test-data/loop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -395,3 +395,22 @@ post:
- "r0.uvalue=100001"
messages:
- "exit: Could not prove termination."

---
test-case: possible infinite loop
options: ["termination"]

pre: [r0.type=number]
code:
<start>: |
if r0 > 0 goto <start>
exit
post:
- "pc[0]=[1, +oo]"
- "r0.svalue=0"
- "r0.uvalue=0"
- "r0.type=number"

messages:
- "exit: Could not prove termination."

0 comments on commit 6d5d554

Please sign in to comment.