Implement C _FloatN, _FloatNx types.
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr52244.c
blob2a29e3cf42066db2a86a99cd572d988487d574af
1 /* { dg-do run } */
3 extern void abort (void);
5 typedef union u_r
7 _Bool b;
8 unsigned char c;
9 } u_t;
11 u_t
12 bar (void)
14 u_t u;
15 u.c = 0x12;
16 return u;
19 u_t __attribute__ ((noinline))
20 foo (void)
22 u_t u;
24 u.b = 1;
25 u = bar ();
27 return u;
30 int main (int argc, char **argv)
32 u_t u = foo ();
33 if (u.c != 0x12)
34 abort ();
35 return 0;