view gcc/testsuite/gfortran.dg/pr67900.f90 @ 144:8f4e72ab4e11

fix segmentation fault caused by nothing next cur_op to end
author Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Sun, 23 Dec 2018 21:23:56 +0900
parents 04ced10e8804
children
line wrap: on
line source

! { dg-do compile }
! PR fortran/67900
! Original code contributed by Giorgian Borca-Tasciuc
! giorgianb at gmail dot com
! 
program main
   implicit none
   interface f
      function f_real(x)
         real, bind(c) :: x
         real :: f_real
      end function f_real

      function f_integer(x)
         integer, bind(c) :: x
         integer :: f_integer
      end function f_integer
   end interface f
end program main