summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/complex_intrinsic_1.f90
blob: 3c299151e9e02e07c0e1d977ddc0678aa5bbedaa (plain)
1
2
3
4
5
! Testcase for the COMPLEX intrinsic
! { dg-do run }
  if (complex(1_1, -1_2) /= complex(1.0_4, -1.0_8)) call abort
  if (complex(1_4, -1.0) /= complex(1.0_4, -1_8)) call abort
  end