2 ! { dg-options "-finit-derived" }
6 ! Test a regression which caused an ICE when -finit-derived was given without
7 ! other -finit-* flags, especially for derived-type components with potentially
8 ! hidden basic integer components.
13 use, intrinsic :: iso_c_binding, only: c_ptr, c_null_ptr
15 type(c_ptr) :: my_c_ptr
20 subroutine sub0() bind(c)
21 type(t), target :: my_f90_type
22 my_f90_type%my_c_ptr = c_null_ptr