Debian Codegraph @

gcc/testsuite/gfortran.dg/pr91784.f90

raw
1 ! { dg-do run }
2 ! PR fortran/91784
3 ! Code originally contributed by Gerhard Steinmetz
4 program p
5 complex :: x(1)
6 x = (1.0, 2.0) * [real :: -(3.0 + 4.0)]
7 if (int(real(x(1))) /= -7) stop 1
8 if (int(aimag(x(1))) /= -14) stop 2
9 end