Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gfortran.dg/namelist_93.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 ! PR78659 Spurious "requires DTIO" reported against namelist statement | |
3 MODULE ma | |
4 IMPLICIT NONE | |
5 TYPE :: ta | |
6 INTEGER, allocatable :: array(:) | |
7 END TYPE ta | |
8 END MODULE ma | |
9 | |
10 PROGRAM p | |
11 USE ma | |
12 class(ta), allocatable :: x | |
13 NAMELIST /nml/ x | |
14 WRITE (*, nml)! { dg-error "is polymorphic and requires a defined input/output procedure" } | |
15 READ (*, nml) ! { dg-error "is polymorphic and requires a defined input/output procedure" } | |
16 END PROGRAM p |