summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/pr96024.f90
blob: 2c914a997f2d49e9fa6f8008b66d35ca12cbdbe3 (plain)
1
2
3
4
5
6
7
8
9
10
11
! { dg-do compile }
! PR fortran/96024 - ICE in mio_name_expr_t
! Contributed by G.Steinmetz

module m
  implicit none
  type t
     character(char(1)) :: a ! { dg-error "must be of INTEGER type" }
  end type
  type(t) :: z = t('a')
end