source: CIVL/mods/dev.civl.abc/examples/contract/por.cvl

main
Last change on this file was aad342c, checked in by Stephen Siegel <siegel@…>, 3 years ago

Performing huge refactor to incorporate ABC, GMC, and SARL into CIVL repo and use Java modules.

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

  • Property mode set to 100644
File size: 273 bytes
Line 
1#include <civlc.cvh>
2#include <memory.cvh>
3
4void inc(int* n);
5
6void dec(int* n);
7
8/*@ depends_on \anyact;
9 @ assigns \object_of(a), \object_of(b);
10 @*/
11void test(int* a, int* b);
12
13/*@ depends_on (\write(n)+\read(n))-(\call(inc, n)+\call(dec, n));
14 @*/
15void foo(int* n);
Note: See TracBrowser for help on using the repository browser.