1! { dg-do compile }
2! PR fortran/84073 - this was accepted before.
3module mod
4  use iso_c_binding
5  type, bind(c) :: a
6     character(len=2,kind=c_char) :: b ! { dg-error "must have length one" }
7  end type a
8  character(len=2), bind(C) :: c ! { dg-error "must have length one" }
9end module mod
10