]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR fortran/38065 (private/public confusion with a contained function)
authorTobias Burnus <burnus@net-b.de>
Wed, 12 Nov 2008 18:38:08 +0000 (19:38 +0100)
committerTobias Burnus <burnus@gcc.gnu.org>
Wed, 12 Nov 2008 18:38:08 +0000 (19:38 +0100)
2008-11-12  Tobias Burnus  <burnus@net-b.de>

       PR fortran/38065
       PR fortran/38094
       * gfortran.dg/private_type_4.f90: Add -std=f95 option.

From-SVN: r141798

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/private_type_4.f90

index 7d93db1fe5bfb155059c4447f5ba3ed5c997d211..30764342dd1657d609d5b34343d67386f06d95a1 100644 (file)
@@ -1,3 +1,9 @@
+2008-11-12  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/38065
+       PR fortran/38094
+       * gfortran.dg/private_type_4.f90: Add -std=f95 option.
+
 2008-11-12  Andreas Krebbel  <krebbel1@de.ibm.com>
 
        * gcc.target/s390/frame-addr1.c: New testcase.
index 9ff39b267cdd17f77627b5176e151e3c947ec3a8..29802789b28355089163a9eb05fcc0f5534a113a 100644 (file)
@@ -1,5 +1,8 @@
 ! { dg-do compile }
+! { dg-options "-std=f95" }
 ! PR 25093: Check that a PUBLIC function can't be of PRIVATE type
+! in Fortran 95; in Fortran 2003 it is allowed (cf. PR fortran/38065)
+!
 module m1
 
     type :: t1