URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [associated_3.f90] - Rev 154
Compare with Previous | Blame | View Log
! { dg-do compile }
! Test for fix of PR27655
!
!Contributed by Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
integer, pointer :: i
print *, associated(NULL(),i) ! { dg-error "not permitted as actual argument" }
print *, associated(i,NULL()) ! { dg-error "not permitted as actual argument" }
end