2016-01-15 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr49494.f90
blobb3a35cf23bd2490616879885606ef46b2357f43c
1 ! { dg-do compile }
2 ! { dg-options "-O -findirect-inlining -fno-guess-branch-probability -finline-functions -finline-small-functions" }
3 function more_OK (fcn)
4 character(*) more_OK
5 character (*), external :: fcn
6 more_OK = fcn ()
7 end function more_OK
8 character(4) :: answer
9 character(4), external :: is_OK, more_OK
10 answer = more_OK (is_OK)
11 contains
12 END