Running "verifast -target 32bit -prover z3v4.5 test.c" on the following succeeds.
//@ #include <bitops.gh>
int main ()
//@ requires true;
//@ ensures true;
{
int a = 0x000000F0;
//@ Z za = Z_of_uint32(a);
int b = 0x0000000F;
//@ Z zb = Z_of_uint32(b);
int c = a | b;
//@ bitor_def(a, za, b, zb);
assert( c <= 0x000000FF);
return 0;
}
--
You received this message because you are subscribed to the Google Groups "VeriFast" group.
To unsubscribe from this group and stop receiving emails from it, send an email to verifast+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/verifast/1fadfd19-c8e7-43ce-95c5-0c78b3a98a11n%40googlegroups.com.