PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gfortran.dg / proc_ptr_comp_40.f90
blob07d09596598ff15b1570de19bea4978dde76a233
1 ! { dg-do compile }
3 ! PR 64173: [F03] ICE involving procedure pointer component
5 ! Contributed by Rich Townsend <townsend@astro.wisc.edu>
7 implicit none
9 type :: r_magnus_ivp_t
10 integer, allocatable :: jc
11 procedure(abscissa_), nopass, pointer :: abscissa_p
12 end type
14 abstract interface
15 function abscissa_ () result (x)
16 real, allocatable :: x(:)
17 end function
18 end interface
20 contains
22 function doinit () result (iv)
23 type(r_magnus_ivp_t) :: iv
24 end function
26 end