1 2 3 4 5 6 7 8 9 10 11
! { dg-do compile } program bug implicit none complex(kind=8) z double precision x,y z = cmplx(1.e0_8,2.e0_8) y = imag(z) y = imagpart(z) x = realpart(z) end