libgfortran/ChangeLog:
[official-gcc.git] / gcc / testsuite / gfortran.dg / array_constructor_27.f03
blob8068364ce4a0f792fda8ca1e9cd7ad60a4f3054e
1 ! { dg-do compile }
2 ! { dg-options "-std=gnu" }
4 ! PR fortran/36492
5 ! Check for incorrect error message with -std=f2003.
6 ! Reduced test triggering the ICE mentioned in comment #4, PR 36492.
8 implicit none
10 type t
11   character (a) :: arr (1) = [ "a" ]
12   ! { dg-error "no IMPLICIT type" "" { target *-*-* } 11 }
13   ! { dg-error "specification expression" "" { target *-*-* } 11 }
14 end type t
16 end