2 ! { dg-options "-std=gnu" }
3 ! This test case exists because gfortran had an error in converting the
4 ! expressions for the derived types from iso_c_binding in some cases.
6 use, intrinsic :: iso_c_binding, only: c_ptr, c_null_ptr
9 subroutine sub0() bind(c)
10 print *, 'c_null_ptr is: ', c_null_ptr
12 end module c_ptr_tests_10
19 ! { dg-final { cleanup-modules "c_ptr_tests_10" } }