AArch64: correct constraint on Upl early clobber alternatives
[official-gcc.git] / gcc / testsuite / gfortran.dg / associate_17.f90
blobb25bcc265d6c5dd0a5fb22e4f3732dae7cf85fff
1 ! { dg-do run }
2 ! Test the fix for PR61406
3 ! Contributed by Adam Hirst <adam@aphirst.karoo.co.uk>
4 program test
5 implicit none
6 real :: theta = 1.0
8 associate (n => [cos(theta), sin(theta)])
9 if (abs (norm2(n) - 1.0) .gt. 1.0e-4) STOP 1
10 end associate
12 end program test