Fix compilation failure with C++98 compilers
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr32136.f90
blobae99d9eed5c130878a2abc634168088630599796
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)) STOP 1
10 end