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