aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/pr51993.f90
blob: 753dd6fc80ce2fbbdeccc2d1590c9bca8991173c (plain)
1
2
3
4
5
6
7
8
! { dg-do compile }
! PR fortran/51993
! Code contributed by Sebastien Bardeau <bardeau at iram dot fr>
module mymod
  type :: mytyp
    character(len=3) :: a = .true. ! { dg-error "convert LOGICAL" }
  end type mytyp
end module mymod