diff options
-rw-r--r-- | gcc/testsuite/gfortran.dg/iso_c_binding_compiler_4.f90 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/iso_c_binding_compiler_4.f90 b/gcc/testsuite/gfortran.dg/iso_c_binding_compiler_4.f90 new file mode 100644 index 00000000000..8a87fe5f50c --- /dev/null +++ b/gcc/testsuite/gfortran.dg/iso_c_binding_compiler_4.f90 @@ -0,0 +1,18 @@ +! { dg-do compile } +! +! PR fortran/51308 +! +! Contributed by Matthias Moeller +! + +module mymod + use iso_c_binding + implicit none + + private + public :: c_ptr + public :: c_null_ptr + +end module mymod + +! { dg-final { cleanup-modules "mymod" } } |