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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
! PR fortran/31472
3
! Access specifications: Valid Fortran 2003 code
4
module mod
5
  implicit none
6
  private
7
  integer, public :: i
8
  integer, private :: z
9
  integer :: j, x
10
  private :: j
11
  public  :: x
12
  type, public :: bar
13
    PRIVATE
14
    integer, public :: y  ! Fortran 2003
15
    integer, private :: z  ! Fortran 2003
16
  end type
17
end module
18
! { dg-final { cleanup-modules "mod" } }

powered by: WebSVN 2.1.0

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