Really commit the test case:
authorTobias Burnus <burnus@gcc.gnu.org>
Mon, 28 Nov 2011 14:47:39 +0000 (15:47 +0100)
committerTobias Burnus <burnus@gcc.gnu.org>
Mon, 28 Nov 2011 14:47:39 +0000 (15:47 +0100)
2011-11-28  Tobias Burnus  <burnus@net-b.de>

        PR fortran/51308
        * gfortran.dg/iso_c_binding_compiler_4.f90: New.

From-SVN: r181779

gcc/testsuite/gfortran.dg/iso_c_binding_compiler_4.f90 [new file with mode: 0644]

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 (file)
index 0000000..8a87fe5
--- /dev/null
@@ -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" } }