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
[to-be-committed] [RISC-V] Use Zbkb for general 64 bit constants when profitable
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
associate_39.f90
blob
16357c32777aab06c9237b9dee8a1488df1f1938
1
! { dg-do compile }
2
!
3
! PR 86935: Bad locus in ASSOCIATE statement
4
!
5
! Contributed by Janus Weil <janus@gcc.gnu.org>
6
7
implicit none
8
9
type
::
t
10
real
::
r
=
0.5
11
integer
::
i
=
3
12
end type
13
14
type
(
t
) ::
x
15
16
associate
(
r
=>
x
%
r
, &
17
i
=>
x
%
ii
)
! { dg-error "Invalid association target" }
18
19
end