source: CIVL/examples/contracts/with.cvl@ 4a450d6

1.23 2.0 acw/focus-triggers main test-branch
Last change on this file since 4a450d6 was 05fdac6, checked in by Manchun Zheng <zmanchun@…>, 10 years ago

started to implement $update

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

  • Property mode set to 100644
File size: 314 bytes
Line 
1#include<collate.cvh>
2
3$gcollator gcollator=$gcollator_create($here, 1);
4$collator collator=$collator_create(gcollator, $here, 0);
5
6int main(){
7 $collate_state cs=$collate_arrives(collator, $here);
8
9 $with (cs) {
10 $assert($true);
11 }
12 $collate_departs(collator);
13 $free(collator);
14 $free(gcollator);
15}
Note: See TracBrowser for help on using the repository browser.