PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gfortran.dg / unlimited_polymorphic_10.f90
blob04518d6c941faa4f51bdc5f7a80094c8a91ab2c9
1 ! { dg-do compile }
3 ! PR fortran/58658
5 ! Contributed by Vladimír Fuka
7 subroutine sub(a)
8 class(*),allocatable :: a
9 a => null() ! { dg-error "Non-POINTER in pointer association context \\(pointer assignment\\)" }
10 end subroutine