Plugins: Add label-text.h to CPPLIB_H so it will be installed [PR115288]
[official-gcc.git] / gcc / testsuite / gfortran.dg / bind_c_usage_31.f90
blob052713ede35f607050137663296605779812801a
1 ! { dg-do compile }
2 ! PR fortran/84073 - this was accepted before.
3 module 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" }
9 end module mod