hppa64: Fix fmt_f_default_field_width_3.f90 and fmt_g_default_field_width_3.f90
[official-gcc.git] / gcc / testsuite / gfortran.dg / illegal_boz_arg_1.f90
blob8a79a5219d20a7fbfabde71d8f0bb7bca4d1ea16
1 ! { dg-do compile }
2 program foo
3 implicit none
4 integer :: i = 42
5 print *, storage_size(z'1234') ! { dg-error "cannot be an actual" }
6 print *, transfer(z'1234', i) ! { dg-error "cannot be an actual" }
7 print *, transfer(i, z'1234') ! { dg-error "cannot be an actual" }
8 print *, transfer(i, i, z'1234') ! { dg-error "must be INTEGER" }
9 end program foo