c++: constrained lambda error-recovery [PR108972]
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr91553.f90
blob2d0b018dded8f45f216a1dbeca7f66b26d58e66e
1 ! { dg-do run }
2 ! Code contributed by Gerhard Steinmetz
3 program p
4 complex z(1)
5 z = (1.0, 2.0) * [real :: (3.0 + 4.0)]
6 if (real(z(1)) /= 7.) stop 1
7 if (aimag(z(1)) /= 14.) stop 2
8 end