2008-07-06 Kai Tietz <kai.tietz@onevision.com>
[official-gcc.git] / gcc / testsuite / gfortran.dg / array_constructor_27.f03
blob6cd4d62dac73842d841595e19abee45d2170b9e4
1 ! { dg-do compile }
3 ! PR fortran/36492
4 ! Check for incorrect error message with -std=f2003.
5 ! Reduced test triggering the ICE mentioned in comment #4, PR 36492.
7 implicit none
9 type t
10   character (a) :: arr (1) = [ "a" ]
11   ! { dg-error "no IMPLICIT type" "" { target *-*-* } 10 }
12   ! { dg-error "specification expression" "" { target *-*-* } 10 }
13 end type t
15 end