fix pr/45972
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr32136.f90
blob304b7b4a212d0dd37d961069e131169408dd4dd3
1 ! { dg-do run }
2 ! { dg-options "-std=gnu" }
3 ! Tests PR32136, which went away!
5 ! Contributed by Tobias Burnus <burnus@gcc.gnu.org>
7 real(kind(0d0)), parameter :: r(1) = &
8 transfer(transfer(sqrt(2d0), (/ .true. /) ), (/ 0d0 /), 1)
9 if (r(1) .ne. sqrt(2d0)) call abort ()
10 end