diff options
author | qadeer <unknown> | 2014-11-14 23:17:40 -0800 |
---|---|---|
committer | qadeer <unknown> | 2014-11-14 23:17:40 -0800 |
commit | 010b1963643a4d196364f33e8c42f756e0545c7c (patch) | |
tree | b05d65b6f2fe2a46df6620559cbff806d28fea4a /Test/linear/async-bug.bpl | |
parent | 72d74c23e9c5cc1903f2646af6a7d778cfde53f3 (diff) |
update
Diffstat (limited to 'Test/linear/async-bug.bpl')
-rw-r--r-- | Test/linear/async-bug.bpl | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Test/linear/async-bug.bpl b/Test/linear/async-bug.bpl index ff6cdded..ad7020ad 100644 --- a/Test/linear/async-bug.bpl +++ b/Test/linear/async-bug.bpl @@ -2,35 +2,35 @@ // RUN: %diff "%s.expect" "%t"
const GcTid:int;
-procedure {:yields} {:phase 100} Initialize({:linear "tid"} tid:int)
-requires{:phase 100} tid == GcTid;
+procedure {:yields} {:layer 100} Initialize({:linear "tid"} tid:int)
+requires{:layer 100} tid == GcTid;
{
yield;
- assert{:phase 100} tid == GcTid;
+ assert{:layer 100} tid == GcTid;
call GarbageCollect(tid);
yield;
- assert{:phase 100} tid == GcTid;
+ assert{:layer 100} tid == GcTid;
async call GarbageCollect(tid);
yield;
- assert{:phase 100} tid == GcTid;
+ assert{:layer 100} tid == GcTid;
async call GarbageCollect(tid);
yield;
- assert{:phase 100} tid == GcTid;
+ assert{:layer 100} tid == GcTid;
yield;
- assert{:phase 100} tid == GcTid;
+ assert{:layer 100} tid == GcTid;
}
-procedure {:yields} {:phase 100} GarbageCollect({:linear "tid"} tid:int)
-requires{:phase 100} tid == GcTid;
+procedure {:yields} {:layer 100} GarbageCollect({:linear "tid"} tid:int)
+requires{:layer 100} tid == GcTid;
{
yield;
- assert{:phase 100} tid == GcTid;
+ assert{:layer 100} tid == GcTid;
}
|