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