summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/nullify_2.f90
blob: ebfcb374c9eb250fd47d3ebf928ad4e065ad340c (plain)
1
2
3
4
5
6
7
! { dg-do compile }
! PR fortran/25146
program i
   implicit none
   TYPE (a) t1     ! { dg-error "is being used before" }
   nullify(t1%x)   ! { dg-error "error in NULLIFY" }
end program