summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/transfer_simplify_6.f90
blob: b557c064f0e758d95d86ad505715f0dd244c573c (plain)
1
2
3
4
5
6
7
8
9
! { dg-do compile }
! Checks the fix for PR33733, in which the functions of arrays
! for the 'source' argument would cause an ICE.
!
! Contributed by FX Coudert <fxcoudert@gcc.gnu.org>
!
  print *, transfer(sqrt([100.]), 0_1)
  print *, transfer(achar([100]), 0_1)
end