* cfgloopmanip.c (duplicate_loop_to_header_edge): Cleanup profile
[official-gcc.git] / gcc / testsuite / gfortran.dg / proc_decl_19.f90
blob1e85a7dbaeffd916099005388d4a00ff71d5eb50
1 ! { dg-do compile }
2 !
3 ! PR 36426
5 ! Contributed by Tobias Burnus <burnus@gcc.gnu.org>
7 abstract interface
8 function foo(x)
9 character(len=*) :: x
10 character(len=len(x)) :: foo
11 end function foo
12 end interface
13 procedure(foo) :: bar
15 abstract interface
16 character function abs_fun()
17 end function
18 end interface
19 procedure(abs_fun):: x
21 character(len=20) :: str
22 str = bar("Hello")
23 end