c { dg-do run }program foocomplex(kind=8)z0,z1,z2z0=dcmplx(0.,.5)z1=1./z0if(z1.ne.dcmplx(0.,-2))call abortz0=10.*z0if(z0.ne.dcmplx(0.,5.))call abortz2=cmplx(1.,2.)z1=z0/z2if(z1.ne.dcmplx(2.,1.))call abortz1=z0*z2if(z1.ne.dcmplx(-10.,5.))call abortend