2 use, intrinsic :: iso_c_binding
3 type, bind(c) :: mytype
7 type(mytype), bind(c) :: mytype_var ! { dg-error "cannot be BIND.C." }
9 integer(c_int), bind(c) :: i ! { dg-error "cannot be declared with BIND.C." }
10 integer(c_int), bind(c), dimension(10) :: my_array ! { dg-error "cannot be BIND.C." }