OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [pr15754.f90] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
! we didn't give a warning if the RHS of an assignment was NULL
2
! { dg-do-compile }
3
INTEGER, POINTER :: P
4
I = NULL() ! { dg-error "NULL appears" "Assignment non-pointer = NULL" }
5
P = NULL() ! { dg-error "NULL appears" "Assignment pointer = NULL" }
6
P => NULL()
7
END

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.