access_spec_2.f90
1.34 KB
-
re PR fortran/31472 (gfortran does not detect the illegal use of an access… · d51347f9
re PR fortran/31472 (gfortran does not detect the illegal use of an access specification in a program, subroutine, or function) 2007-04-12 Tobias Burnus <burnus@net-b.de> PR fortran/31472 * decl.c (match_attr_spec): Allow PRIVATE/PUBLIC attribute in type definitions. (gfc_match_private): Allow PRIVATE statement only in specification part of modules. (gfc_match_public): Ditto for PUBLIC. (gfc_match_derived_decl): Allow PRIVATE/PUBLIC attribute only in specificification part of modules. 2007-04-12 Tobias Burnus <burnus@net-b.de> PR fortran/31472 * gfortran.dg/access_spec_1.f90: New test. * gfortran.dg/access_spec_2.f90: New test. * gfortran.dg/non_module_public.f90: Match new error message. From-SVN: r123735
Tobias Burnus committed