source: CIVL/examples/ACSLTransformation/predicate-bad_state_depend.cvl@ beab7f2

main test-branch
Last change on this file since beab7f2 was ea777aa, checked in by Alex Wilton <awilton@…>, 3 years ago

Moved examples, include, build_default.properties, common.xml, and README out from dev.civl.com into the root of the repo.

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

  • Property mode set to 100644
File size: 189 bytes
Line 
1#pragma CIVL ACSL
2
3int x = 9;
4
5/*@ predicate eq(int a, int b) =
6 @ a == x && b == x;
7 @*/
8int main(){
9 int a = 9;
10 int b = 9;
11
12 $assert(eq(a, b));
13 x = 8;
14 $assert(!eq(a, b));
15}
Note: See TracBrowser for help on using the repository browser.