summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/substring_equivalence.f90
blob: 9a94bcddf729398b3f0bbff82ee782bf6a88cb40 (plain)
1
2
3
4
5
6
7
8
9
10
! { dg-do compile }
! Tests fix for PR24223 - ICE on equivalence statement.
!
module FLAGS
  character(len=5) :: Encodings
  character :: at, dev
  equivalence ( encodings(1:1),at ), ( encodings(2:2),dev)
end module FLAGS

! { dg-final { cleanup-modules "FLAGS" } }