blob: 8a79a5219d20a7fbfabde71d8f0bb7bca4d1ea16 [file] [log] [blame]
! { dg-do compile }
program foo
implicit none
integer :: i = 42
print *, storage_size(z'1234') ! { dg-error "cannot be an actual" }
print *, transfer(z'1234', i) ! { dg-error "cannot be an actual" }
print *, transfer(i, z'1234') ! { dg-error "cannot be an actual" }
print *, transfer(i, i, z'1234') ! { dg-error "must be INTEGER" }
end program foo