1 /* { dg-do compile } */
3 struct singlecomplex
{ float real
, imag
; } ;
4 struct doublecomplex
{ double real
, imag
; } ;
5 struct extendedcomplex
{ long double real
, imag
; } ;
8 struct singlecomplex fc
; /* { dg-warning "doesn't match" } */
10 struct doublecomplex dc
;
11 dc
.real
=fc
.real
; dc
.imag
=fc
.imag
;
12 return (float) cabs(dc
);