1! { dg-do compile }
2! { dg-options "-std=f2003" }
3
4! PR fortran/36492
5! Check that it works with a typespec even for not-the-same-length elements.
6
7type t
8  character (1) :: arr (2) = [ character(len=2) :: "a", "ab" ]
9end type t
10
11end
12