diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg/transfer_simplify_6.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/transfer_simplify_6.f90 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/transfer_simplify_6.f90 b/gcc/testsuite/gfortran.dg/transfer_simplify_6.f90 new file mode 100644 index 000000000..b557c064f --- /dev/null +++ b/gcc/testsuite/gfortran.dg/transfer_simplify_6.f90 @@ -0,0 +1,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 |