c: Fix up pointer types to may_alias structures [PR114493]
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr91784.f90
blob25280e07eb2f7b73be6628e498fb9f0618fa6514
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