2017-02-20 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / intrinsic_7.f90
blob69bca663b630e6b5af32d586974d93feb5b02d57
1 ! { dg-do compile }
3 ! PR fortran/46411
5 ! MOVE_ALLOC and other non-elemental but pure
6 ! procedures where regarded as impure.
9 pure subroutine test()
10 integer, allocatable :: a, b
11 allocate(a,b)
12 call move_alloc(a,b)
13 end subroutine test