tests/rte_manual/oracle/signed_downcast.0.res.oracle
raw| 1 | [kernel] Parsing signed_downcast.i (no preprocessing) |
| 2 | [rte:annot] annotating function main |
| 3 | /* Generated by Frama-C */ |
| 4 | int main(void) |
| 5 | { |
| 6 | int __retres; |
| 7 | signed char cx; |
| 8 | signed char cy; |
| 9 | signed char cz; |
| 10 | /*@ assert rte: signed_overflow: -2147483648 ≤ (int)cx + (int)cy; */ |
| 11 | /*@ assert rte: signed_overflow: (int)cx + (int)cy ≤ 2147483647; */ |
| 12 | cz = (signed char)((int)cx + (int)cy); |
| 13 | __retres = 0; |
| 14 | return __retres; |
| 15 | } |
| 16 | |
| 17 |