Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gfortran.dg/access_spec_1.f90 @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 ! { dg-do compile } |
2 ! { dg-require-visibility "" } | |
3 ! PR fortran/31472 | |
4 ! Access specifications: Valid Fortran 2003 code | |
5 module mod | |
6 implicit none | |
7 private | |
8 integer, public :: i | |
9 integer, private :: z | |
10 integer :: j, x | |
11 private :: j | |
12 public :: x | |
13 type, public :: bar | |
14 PRIVATE | |
15 integer, public :: y ! Fortran 2003 | |
16 integer, private :: z ! Fortran 2003 | |
17 end type | |
18 end module |