Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/bind_c_usage_31.f90 @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | |
children |
line wrap: on
line source
! { dg-do compile } ! PR fortran/84073 - this was accepted before. module mod use iso_c_binding type, bind(c) :: a character(len=2,kind=c_char) :: b ! { dg-error "must have length one" } end type a character(len=2), bind(C) :: c ! { dg-error "must have length one" } end module mod