2 program char_pointer_dummy
3 ! Test character pointer dummy arguments, required
4 ! to fix PR16939 and PR18689
5 ! Provided by Paul Thomas pault@gcc.gnu.org
8 character*4, pointer :: c1
9 character*4, pointer :: c2(:)
11 ! Check that we have not broken non-pointer characters.
23 if (cc1
/= "wxyz") call abort ()
26 character*4, pointer :: sc1
27 if (sc1
/= "wxyz") call abort ()
30 character*4, pointer :: ac1(:)
31 if (ac1(1) /= "wxyz") call abort ()
33 end program char_pointer_dummy