URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [access_spec_3.f90] - Rev 302
Compare with Previous | Blame | View Log
! { dg-do compile }!! Tests the fix for PR36454, where the PUBLIC declaration for! aint and bint was rejected because the access was already set.!! Contributed by Thomas Orgis <thomas.orgis@awi.de>module baseinteger :: baseintend modulemodule ause base, ONLY: aint => baseintend modulemodule buse base, ONLY: bint => baseintend modulemodule cuse ause bprivatepublic :: aint, bintend moduleprogram useruse c, ONLY: aint, bintaint = 3bint = 8write(*,*) aintend program! { dg-final { cleanup-modules "base a b c" } }
