OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [public_private_module.f90] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 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-error "attribute applied to" }
12
end module b
13
 
14
module d
15
  use a
16
  implicit none
17
  private a  ! { dg-error "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.