coarray_41.f90: Add "-latomic" option if libatomic_available.
[official-gcc.git] / gcc / testsuite / gfortran.dg / associated_7.f90
blobbc56f84c85805ac86750dab2417af0f5d59a54ef
1 ! { dg-do compile }
3 ! PR 55692: ICE on incorrect use of ASSOCIATED function
5 ! Contributed by Gilbert Scott <gilbert.scott@easynet.co.uk>
7 INTEGER, POINTER :: P1, P2
8 PRINT *, ASSOCIATED([P1,P2]) ! { dg-error "must be a POINTER" }
9 END