Skip to content

Commit

Permalink
added test example
Browse files Browse the repository at this point in the history
  • Loading branch information
shazqadeer committed Jan 2, 2024
1 parent 9ddf3b1 commit 4ade00f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Test/civl/regression-tests/qelim1.bpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// RUN: %parallel-boogie "%s" > "%t"
// RUN: %diff "%s.expect" "%t"

atomic action {:layer 2} AtomicFoo() returns (o: int)
{
var y: int;
o := y;
}
yield procedure {:layer 1} Foo() returns (o: int)
refines AtomicFoo;
{
var x: int;
o := x;
}
2 changes: 2 additions & 0 deletions Test/civl/regression-tests/qelim1.bpl.expect
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

Boogie program verifier finished with 1 verified, 0 errors

0 comments on commit 4ade00f

Please sign in to comment.