RISC-V: Refactor Dynamic LMUL codes
[official-gcc.git] / gcc / testsuite / gfortran.dg / dependency_55.f90
blob53898b3a34d7ed09a3a7014bd7e1e67bbdfde2db
1 ! { dg-do run }
3 ! Test the fix for PR91717 in which the concatenation operation ICEd.
5 ! Contributed by Damian Rouson <damian@sourceryinstitute.org>
7 type core
8 character (len=:), allocatable :: msg
9 end type
11 type(core) :: my_core
13 my_core%msg = ""
14 my_core%msg = my_core%msg//"my message is: "
15 my_core%msg = my_core%msg//"Hello!"
17 if (my_core%msg .ne. "my message is: Hello!") stop 1
18 end