Merged with mainline at revision 128810.
[official-gcc.git] / gcc / testsuite / gfortran.dg / transfer_check_1.f90
blob26945267d1db931783e390749849dfcceec800b5
1 ! { dg-do compile }
2 ! PR fortran/33037
4 print *, transfer('x', 0, 20) ! { dg-warning "has partly undefined result" }
5 print *, transfer(1_1, 0) ! { dg-warning "has partly undefined result" }
6 print *, transfer([1_2,2_2], 0)
7 print *, transfer([1_2,2_2], 0_8) ! { dg-warning "has partly undefined result" }
8 end