OSDN Git Service

2011-04-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gfortran.dg / bind_c_dts_4.f03
1 ! { dg-do compile }
2 module test
3 use iso_c_binding, only: c_int
4     type, bind(c) ::  foo
5       integer :: p ! { dg-warning "may not be C interoperable" }
6     end type
7     type(foo), bind(c) :: cp
8 end module test
9
10 ! { dg-final { cleanup-modules "test" } }