tests/rte_manual/oracle/bitwise.res.oracle
raw| 1 | [kernel] Parsing bitwise.i (no preprocessing) |
| 2 | [rte:annot] annotating function main |
| 3 | /* Generated by Frama-C */ |
| 4 | int main(void) |
| 5 | { |
| 6 | int __retres; |
| 7 | int x; |
| 8 | int y; |
| 9 | int z; |
| 10 | /*@ assert rte: shift: 0 ≤ y < 32; */ |
| 11 | /*@ assert rte: shift: 0 ≤ x; */ |
| 12 | /*@ assert rte: signed_overflow: x << y ≤ 2147483647; */ |
| 13 | z = x << y; |
| 14 | /*@ assert rte: shift: 0 ≤ y < 32; */ |
| 15 | z = x >> y; |
| 16 | __retres = 0; |
| 17 | return __retres; |
| 18 | } |
| 19 | |
| 20 |