Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions regression/smv/range-type/range_type10.desc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
KNOWNBUG
range_type10.smv

^EXIT=0$
^SIGNAL=0$
--
--
This fails to parse.
22 changes: 22 additions & 0 deletions regression/smv/range-type/range_type10.smv
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
MODULE main

VAR x : 1..6;
VAR y : -6..-1;

ASSIGN init(x) := 1;
ASSIGN init(y) := -1;

ASSIGN next(x) :=
case
x=6 : 1;
TRUE: x+1;
esac;

ASSIGN next(y) :=
case
y=-6 : -1;
TRUE: y + -1;
esac;

-- should pass
LTLSPEC G x + y = 0
Loading