2 ! Test the fix for PR47523 in which concatenations did not work
3 ! correctly with assignments to deferred character length scalars.
5 ! Contributed by Thomas Koenig <tkoenig@gcc.gnu.org>
9 character(:), allocatable :: a, b
11 if (a .ne. 'a') STOP 1
13 if (a .ne. 'ax') STOP 2
14 if (len (a) .ne. 2) STOP 3
16 if (a .ne. 'x') STOP 4
17 if (len (a) .ne. 1) STOP 5