Skip to content
Snippets Groups Projects
Commit 754e522c authored by Patrick Baudin's avatar Patrick Baudin
Browse files

[WP] fixes a typo in a test.

parent 086dbf67
No related branches found
No related tags found
No related merge requests found
Bool A, B;
_Bool A, B;
/*@
ensures GOAL: \result ≡ 255;
......
# frama-c -wp [...]
[kernel] Parsing tests/wp_acsl/issue_A228.c (with preprocessing)
[kernel] :0:
syntax error:
Location: between <unknown> and 1:5, before or at token: A
1 Bool A, B;
2
3 /*@
[kernel] Frama-C aborted: invalid user input.
[wp] Running WP plugin...
[wp] Warning: Missing RTE guards
------------------------------------------------------------
Function job
------------------------------------------------------------
Goal Post-condition 'GOAL' in 'job':
Assume { Type: is_bool(A) /\ is_bool(B). }
Prove: land(-64, lor(to_uint32(lsl(A, 6)), to_uint32(lsl(B, 7)))) = 192.
------------------------------------------------------------
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment