OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PR debug/43557
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gfortran.dg
/
associated_1.f90
diff --git
a/gcc/testsuite/gfortran.dg/associated_1.f90
b/gcc/testsuite/gfortran.dg/associated_1.f90
index
64cf2b3
..
e214fe2
100644
(file)
--- a/
gcc/testsuite/gfortran.dg/associated_1.f90
+++ b/
gcc/testsuite/gfortran.dg/associated_1.f90
@@
-4,7
+4,10
@@
program test
real, pointer :: a, b
+ nullify(a,b)
+ if(associated(a,b).or.associated(a,a)) call abort()
allocate(a)
+ if(associated(b,a)) call abort()
if (.not.associated(x(a))) call abort ()
if (.not.associated(a, x(a))) call abort ()