[AArch64] Merge stores of D-register values with different modes
[official-gcc.git] / gcc / testsuite / gfortran.dg / char_associated_1.f90
blob415079ce185075eba0cbb9059f423b8b51561e6d
1 ! Check that associated works correctly for character arrays.
2 ! { dg-do run }
3 program main
4 character (len = 5), dimension (:), pointer :: ptr
5 character (len = 5), dimension (2), target :: a = (/ 'abcde', 'fghij' /)
6 ptr => a
7 if (.not. associated (ptr, a)) STOP 1
8 end program main