PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gfortran.dg / move_alloc_3.f90
blob3855eede9bff4f4d75c3d76531b77f460057e7b7
1 ! { dg-do compile }
3 ! PR 44595: INTENT of arguments to intrinsic procedures not checked
5 ! Contributed by Janus Weil <janus@gcc.gnu.org>
7 subroutine test(f)
8 implicit none
9 integer, allocatable, intent(in) :: f
10 integer, allocatable :: t
11 call move_alloc(f,t) ! { dg-error "cannot be INTENT.IN." }
12 end subroutine