source: CIVL/examples/por/atomic1.cvl@ bfebb46

1.23 2.0 main test-branch
Last change on this file since bfebb46 was b15374a, checked in by Stephen Siegel <siegel@…>, 12 years ago

Adding POR tests; one test appears to reveal defect.

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@642 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 121 bytes
Line 
1#include<civlc.h>
2int x=0;
3void f() {
4 x=1;
5}
6void main() {
7 $spawn f();
8 $atomic {
9 $assert(x==1); // false
10 }
11}
Note: See TracBrowser for help on using the repository browser.