aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gfortran.dg/associated_7.f90
blob: bc56f84c85805ac86750dab2417af0f5d59a54ef (plain)
1
2
3
4
5
6
7
8
9
! { dg-do compile }
!
! PR 55692: ICE on incorrect use of ASSOCIATED function
!
! Contributed by Gilbert Scott <gilbert.scott@easynet.co.uk>

INTEGER, POINTER :: P1, P2
PRINT *, ASSOCIATED([P1,P2])   ! { dg-error "must be a POINTER" }
END