aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gfortran.dg/binding_label_tests_26a.f90
blob: 32cf07ae7c4a03c975884fb017f401299e68b6ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
! { dg-do compile }
!
! PR 58182: [4.9 Regression] ICE with global binding name used as a FUNCTION
!
! Contributed by Andrew Bensons <abensonca@gmail.com>
!
! This file must be compiled BEFORE binding_label_tests_26b.f90, which it 
! should be because dejagnu will sort the files.  

module fg
contains
  function fffi(f)
    interface
       function f() bind(c)
       end function
    end interface
  end function
end module

! { dg-final { keep-modules "" } }