aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gfortran.dg/pr37287-1.f90
blob: c2d42e6de0f4bb7d36b038e9f70d23111d0ce280 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
! PR debug/37287
! { dg-do link }
! { dg-options "-g -DPR37287_1" }
! { dg-additional-sources pr37287-2.F90 }
module pr37287_1
  use iso_c_binding, only : c_ptr, c_associated, c_null_ptr
  implicit none
contains
  subroutine set_null(ptr)
      type(c_ptr), intent(out) :: ptr
      ptr = c_null_ptr
  end subroutine set_null
end module pr37287_1
end