1
2
3
4#line 12 "test_union_cast-1-safe.c"
5union X {
6 int y ;
7 double z ;
8};
9#line 71 "/usr/include/assert.h"
10extern __attribute__((__nothrow__, __noreturn__)) void __assert_fail(char const *__assertion ,
11 char const *__file ,
12 unsigned int __line ,
13 char const *__function ) ;
14#line 4 "test_union_cast-1-safe.c"
15
16#line 5 "test_union_cast-1-safe.c"
17int CURRENTLY_SAFE ;
18#line 24 "test_union_cast-1-safe.c"
19int main(void)
20{ union X var ;
21 unsigned int __cil_tmp2 ;
22
23 {
24#line 27
25 var.z = 0x1.4p+4;
26#line 28
27 var.y = 10;
28 {
29#line 29
30 __cil_tmp2 = (unsigned int )var.y;
31#line 29
32 if (__cil_tmp2 == 10U) {
33
34 } else {
35 {
36#line 29
37
38 ERROR: goto ERROR;
39 }
40 }
41 }
42#line 36
43 return (0);
44}
45}