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
Increase timeout factor for hppa*-*-* in gcc.dg/long_branch.c
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
deferred_character_35.f90
blob
c28f52f79ff47ce57a4ab6385a7a2bcb0843bebc
1
! { dg-do compile }
2
!
3
! Test the fix for PR93794, where the ASSOCIATE statement ICED on the
4
! deferred character length, pointer component.
5
!
6
! Contributed by Gerhard Steinmetz <gscfq@t-online.de>
7
!
8
program
p
9
type
t
10
character
(:),
pointer
::
a
11
end type
12
type
(
t
) ::
z
13
character
(
4
),
target
::
c
=
'abcd'
14
z
%
a
=>
c
15
associate
(
y
=>
z
%
a
)
16
print
*,
y
17
end
associate
18
end