RISC-V: Regenerate opt urls.
[official-gcc.git] / gcc / testsuite / gfortran.dg / proc_ptr_comp_49.f90
blobe89791f728c37a18bbbc25aae93ffa5de74e33c2
1 ! { dg-do compile }
3 ! PR 80392: [5/6/7 Regression] [OOP] ICE with allocatable polymorphic function result in a procedure pointer component
5 ! Contributed by <zed.three@gmail.com>
7 module mwe
9 implicit none
11 type :: MyType
12 procedure(my_op), nopass, pointer :: op
13 end type
15 contains
17 function my_op() result(foo)
18 class(MyType), allocatable :: foo
19 end function
21 end module