OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [public_private_module.f90] - Blame information for rev 324

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do compile }
2
! See PR fortran/36251.
3
module a
4
  implicit none
5
  integer :: i = 42
6
end module a
7
 
8
module b
9
  use a
10
  implicit none
11
  public a  ! { dg-warning "attribute applied to" }
12
end module b
13
 
14
module d
15
  use a
16
  implicit none
17
  private a  ! { dg-warning "attribute applied to" }
18
end module d
19
! { dg-final { cleanup-modules "a" } }

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.