aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTobias Burnus <burnus@gcc.gnu.org>2011-11-28 15:47:39 +0100
committerTobias Burnus <burnus@gcc.gnu.org>2011-11-28 15:47:39 +0100
commit56828a291c4f1f6fd4f030a1ae198dfcb51cd7af (patch)
tree85471e500e3cd1e967af7e623436b951d517d72c /gcc
parentfc2a6c89825977ce23e606de67c95d11afa61d5c (diff)
downloadgcc-56828a291c4f1f6fd4f030a1ae198dfcb51cd7af.zip
gcc-56828a291c4f1f6fd4f030a1ae198dfcb51cd7af.tar.gz
gcc-56828a291c4f1f6fd4f030a1ae198dfcb51cd7af.tar.bz2
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. From-SVN: r181779
Diffstat (limited to 'gcc')
-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 0000000..8a87fe5
--- /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" } }