init - first working version
This commit is contained in:
24
tests/drop/t5-drop-multi.pml
Normal file
24
tests/drop/t5-drop-multi.pml
Normal file
@@ -0,0 +1,24 @@
|
||||
// INTENDED BEHAVIOR: acceptance cycle
|
||||
chan c = [8] of { byte };
|
||||
byte q=1;
|
||||
|
||||
init {
|
||||
c!5;
|
||||
c!5;
|
||||
c!5;
|
||||
c!5;
|
||||
c!5;
|
||||
}
|
||||
|
||||
active proctype consume() {
|
||||
MAIN:
|
||||
do
|
||||
:: c ? 5 -> goto PROC;
|
||||
od
|
||||
PROC:
|
||||
q=0;
|
||||
}
|
||||
|
||||
ltl proc {
|
||||
eventually (q == 0);
|
||||
}
|
||||
Reference in New Issue
Block a user