Skip to content

Commit 090e1cc

Browse files
authored
Merge pull request #1207 from diffblue/smv-missing-declarations
SMV: grammar for missing declarations
2 parents 0c80385 + 2ceda01 commit 090e1cc

File tree

11 files changed

+128
-0
lines changed

11 files changed

+128
-0
lines changed

regression/smv/compute/compute1.desc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
CORE
2+
compute1.smv
3+
4+
^file .* line 3: No support for COMPUTE specifications .*$
5+
^EXIT=1$
6+
^SIGNAL=0$
7+
--
8+
--

regression/smv/compute/compute1.smv

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
MODULE main
2+
3+
COMPUTE MIN [TRUE, TRUE];
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
CORE
2+
constants1.smv
3+
4+
^file .* line 3: No support for CONSTANTS declarations .*$
5+
^EXIT=1$
6+
^SIGNAL=0$
7+
--
8+
--
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
MODULE main
2+
3+
CONSTANTS some_constant;
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
CORE
2+
frozenvar1.smv
3+
4+
^file .* line 3: No support for FROZENVAR declarations$
5+
^EXIT=1$
6+
^SIGNAL=0$
7+
--
8+
--
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
MODULE main
2+
3+
FROZENVAR some_var : boolean;

regression/smv/isa/isa1.desc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
CORE
2+
isa1.smv
3+
4+
^file .* line 3: No support for ISA declarations .*$
5+
^EXIT=1$
6+
^SIGNAL=0$
7+
--
8+
--

regression/smv/isa/isa1.smv

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
MODULE main
2+
3+
ISA some_isa

regression/smv/ivar/ivar1.desc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
CORE
2+
ivar1.smv
3+
4+
^file .* line 3: No support for IVAR declarations$
5+
^EXIT=1$
6+
^SIGNAL=0$
7+
--
8+
--

regression/smv/ivar/ivar1.smv

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
MODULE main
2+
3+
IVAR some_input : boolean;

0 commit comments

Comments
 (0)