aarch64: Add missing ACLE macro for NEON-SVE Bridge
[official-gcc.git] / gcc / testsuite / gfortran.dg / associate_37.f90
blobbcabe277be1133677ec8e54c81f83a863f1a766d
1 ! { dg-do run }
2 ! { dg-options "-fcoarray=single" }
4 ! Tests the fix for the regression PR83901.
6 ! Contributed by G Steinmetz <gscfq@t-online.de>
8 program p
9 character(8), allocatable :: x[:]
10 allocate (x[*])
11 x = 'abc'
12 associate (y => x)
13 if (y .ne. 'abc') stop 1
14 end associate
15 end