ieee_9.f90: XFAIL on arm*-*-gnueabi[hf].
[official-gcc.git] / gcc / testsuite / gfortran.dg / typebound_proc_14.f03
blob1f0d7de3b350d7257edc3470cea95acc776eab0e
1 ! { dg-do compile }
3 ! PR 40117: [OOP][F2008] Type-bound procedure: allow list after PROCEDURE
5 ! Contributed by Janus Weil <janus@gcc.gnu.org>
7 module m
9 implicit none
11 type :: t
12 contains
13   procedure :: foo, bar, baz
14 end type
16 contains
18   subroutine foo (this)
19     class(t) :: this
20   end subroutine
22   real function bar (this)
23     class(t) :: this
24   end function
26   subroutine baz (this, par)
27     class(t) :: this
28     integer :: par
29   end subroutine
31 end