We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 371bb9a commit c605a49Copy full SHA for c605a49
regression/smv/modules/self1.desc
@@ -0,0 +1,8 @@
1
+KNOWNBUG
2
+self1.smv
3
+^EXIT=0$
4
+^SIGNAL=0$
5
+--
6
+^warning: ignoring
7
8
+This does not parse.
regression/smv/modules/self1.smv
@@ -0,0 +1,16 @@
+MODULE container(init_value1, init_value2)
+ VAR c1 : counter(init_value1, self);
+ VAR c2 : counter(init_value2, self);
+
+MODULE counter(init_value, my_container)
+ VAR v: 1..100;
+ ASSIGN
+ init(v) := init_value;
9
+ DEFINE
10
+ greatestCounterInContainer := v >= my_container.c1.v &
11
+ v >= my_container.c2.v;
12
13
+MODULE main
14
+ VAR c : container(14, 7);
15
+ SPEC
16
+ c.c1.greatestCounterInContainer;
0 commit comments