symbol.c (verify_bind_c_derived_type): Accept BIND(C) on an empty derived type.
[gcc.git] / gcc / testsuite / gfortran.dg / empty_derived_type.f90
1 ! { dg-do compile }
2 module stuff
3 implicit none
4 type, bind(C) :: junk ! { dg-warning "may be inaccessible by the C companion" }
5 ! Empty!
6 end type junk
7 end module stuff