OSDN Git Service

Really commit the test case:
authorburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 28 Nov 2011 14:47:39 +0000 (14:47 +0000)
committerburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 28 Nov 2011 14:47:39 +0000 (14:47 +0000)
2011-11-28  Tobias Burnus  <burnus@net-b.de>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181779 138bc75d-0d04-0410-961f-82ee72b054a4

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" } }