diff options
author | qadeer <unknown> | 2014-07-11 14:00:32 -0700 |
---|---|---|
committer | qadeer <unknown> | 2014-07-11 14:00:32 -0700 |
commit | 5ef33fad3a4d6438d7e3c38388639eff7f08533d (patch) | |
tree | 5b44085b51ba2aa44dd965c62818c2ca74b97d96 /Test/og/termination.bpl | |
parent | 9abbf5e9060e152fb13c0cd5c9fbbdc3aba19f30 (diff) |
fixed some tests in og
added another test in linear (based on bug reported by Chris)
removed the QED build configuration
Diffstat (limited to 'Test/og/termination.bpl')
-rw-r--r-- | Test/og/termination.bpl | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/Test/og/termination.bpl b/Test/og/termination.bpl index 26ff030d..35064f77 100644 --- a/Test/og/termination.bpl +++ b/Test/og/termination.bpl @@ -1,17 +1,15 @@ // RUN: %boogie -noinfer -typeEncoding:m -useArrayTheory "%s" > "%t"
// RUN: %diff "%s.expect" "%t"
-// XFAIL: *
-procedure {:yields} X();
-ensures {:atomic 0} |{ A: return true; }|;
+procedure {:yields} {:phase 0} X();
+ensures {:atomic} |{ A: return true; }|;
-procedure {:yields} Y();
-ensures {:left 0} |{ A: return true; }|;
+procedure {:yields} {:phase 0} Y();
+ensures {:left} |{ A: return true; }|;
-procedure {:yields} main() {
+procedure {:yields} {:phase 1} main() {
yield;
call X();
while (*)
-// invariant {:terminates} true;
{
call Y();
}
|