2 ! { dg-options "-fbounds-check" }
5 ! The following program is valid Fortran 90 and later.
6 ! The storage-sequence association of the dummy argument
7 ! allows that the actual argument ["ab", "cd"] is mapped
8 ! to the dummy argument a(1) which perfectly fits.
9 ! (The dummy needs to be an array, however.)
14 call sub(["ab", "cd"])
17 character(len
=4) :: a(1)