summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>2011-11-28 14:47:39 +0000
committerburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>2011-11-28 14:47:39 +0000
commitcd2c337829c83d841b99b385c531f290eaf84941 (patch)
tree85471e500e3cd1e967af7e623436b951d517d72c
parentd523dd63d5e6c7c33b0b3c645a140f43fd82f082 (diff)
downloadgcc-cd2c337829c83d841b99b385c531f290eaf84941.tar.gz
Really commit the test case:
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
-rw-r--r--gcc/testsuite/gfortran.dg/iso_c_binding_compiler_4.f9018
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" } }