Debian Codegraph @

gcc/testsuite/gfortran.dg/pr96024.f90

raw
1 ! { dg-do compile }
2 ! PR fortran/96024 - ICE in mio_name_expr_t
3 ! Contributed by G.Steinmetz
4
5 module m
6 implicit none
7 type t
8 character(char(1)) :: a ! { dg-error "must be of INTEGER type" }
9 end type
10 type(t) :: z = t('a')
11 end