blob: 21adac82ad459cfdec10423bc6819d362c64898d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
! { dg-do compile }
! { dg-options "-std=gnu" }
! PR fortran/36492
! Check for incorrect error message with -std=f2003.
! Reduced test triggering the ICE mentioned in comment #4, PR 36492.
implicit none
type t
character (a) :: arr (1) = [ "a" ]
! { dg-error "specification expression" "" { target *-*-* } 11 }
end type t
end
|