blob: 1e42d5b9bece553f10a5c5d641b10f1674a7deca (
plain)
1
2
3
4
5
6
7
8
9
|
! { dg-do compile }
! { dg-options "-Wc-binding-type" }
module test
use iso_c_binding, only: c_int
type, bind(c) :: foo
integer :: p ! { dg-warning "may not be C interoperable" }
end type
type(foo), bind(c) :: cp
end module test
|