re PR fortran/38065 (private/public confusion with a contained function)

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
This commit is contained in:
Tobias Burnus 2008-11-12 19:38:08 +01:00 committed by Tobias Burnus
parent 78791a80a8
commit 6af97bf444
2 changed files with 9 additions and 0 deletions

View 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.

View 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