repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
libgfortran/ChangeLog:
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
pr15754.f90
blob
1b9259e80c699b8246ddc7d16050f4fbaf4a923f
1
! 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