Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gfortran.dg/import8.f90 @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
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 |