blob: 2fa7d76b0cc73b3f7b9a2ec24454d2286d787c79 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* { dg-do run { target sparc*-*-* } } */
/* { dg-options "-O2 -fpic" } */
double
foo (void)
{
return (__extension__ ((union { unsigned __l __attribute__((__mode__(__SI__))); float __d; }) { __l: 0x3f800000UL }).__d);
}
main ()
{
if (foo() != 1.0)
abort ();
exit (0);
}
|