AArch64: correct constraint on Upl early clobber alternatives
[official-gcc.git] / gcc / testsuite / gfortran.dg / intent_out_12.f90
blobe838bcbb4c2f6bb0c570cd606f21599a0c35b63a
1 ! { dg-do run }
2 ! PR fortran/87401 - this used to segfault at runtime.
3 ! Test case by Janus Weil.
5 program assoc_intent_out
7 implicit none
9 real :: r
11 associate(o => r)
12 call sub(o)
13 end associate
15 contains
17 subroutine sub(out)
18 real, intent(out) :: out
19 out = 0.0
20 end subroutine
22 end