source: CIVL/mods/dev.civl.abc/examples/prune/structsInFunction_pruned.cvl

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

Modified expected output of an ABC pruner test due to change in contract for "$wait".

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

  • Property mode set to 100644
File size: 343 bytes
Line 
1#pragma CIVL ACSL
2//======================== civlc.cvh =======================
3typedef struct $proc $proc;
4/*@ depends_on \nothing;
5 @*/
6$system[civlc] void $wait($proc p);
7//================== structsInFunction.cvl =================
8void process() {
9 int a;
10 int b;
11 a = b = 10;
12}
13int main() {
14 $proc p = $spawn process();
15 $wait(p);
16}
Note: See TracBrowser for help on using the repository browser.