2017-02-20 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / altreturn_8.f90
blobccd58a2b083b41af2158f828b224cb1e4a0e33bb
1 ! { dg-do compile }
2 ! { dg-options "-std=gnu" }
4 ! PR 56284: [OOP] ICE with alternate return in type-bound procedure
6 ! Contributed by Arjen Markus <arjen.markus@deltares.nl>
8 module try_this
9 implicit none
11 type :: table_t
12 contains
13 procedure, nopass :: getRecord
14 end type
16 contains
18 subroutine getRecord ( * )
19 end subroutine
21 end module
23 ! { dg-final { cleanup-modules "try_this" } }