[RFA] Fix csky and c6x build failures
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr92152.c
bloba4f883956d4a39ac909c7ba483ce65f21ef51f3d
1 /* { dg-do run } */
2 union U
4 long long i;
5 long f;
6 } v;
8 long
9 foo (long *f)
11 *f = 1;
12 v.i = 0;
13 v.f = 0;
14 return *f;
17 int
18 main ()
20 if (foo (&v.f) != 0)
21 __builtin_abort ();
22 return 0;