blob: 04cb8b22ab85952a421b1ae3c854a4a9d04ced49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
! { dg-do run }
! { dg-additional-sources c_ptr_tests_7_driver.c }
module c_ptr_tests_7
use, intrinsic :: iso_c_binding, only: c_ptr, c_null_ptr
contains
function func0() bind(c)
type(c_ptr) :: func0
func0 = c_null_ptr
end function func0
end module c_ptr_tests_7
! { dg-final { cleanup-modules "c_ptr_tests_7" } }
|