2 ! { dg-options -Wsurprising }
5 print *, transfer('x', 0, 20) ! { dg-warning "has partly undefined result" }
6 print *, transfer(1_1, 0) ! { dg-warning "has partly undefined result" }
7 print *, transfer([1_2,2_2], 0)
8 print *, transfer([1_2,2_2], 0_8) ! { dg-warning "has partly undefined result" }