Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gfortran.dg/import8.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 ! | |
3 ! PR fortran/44614 | |
4 ! | |
5 ! | |
6 | |
7 implicit none | |
8 | |
9 type, abstract :: Connection | |
10 end type Connection | |
11 | |
12 abstract interface | |
13 subroutine generic_desc(self) | |
14 ! <<< missing IMPORT | |
15 class(Connection) :: self ! { dg-error "is being used before it is defined" } | |
16 end subroutine generic_desc | |
17 end interface | |
18 end |