aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gfortran.dg/binding_label_tests_26b.f90
blob: ad8426bc2c6f6535a06ef10f266f50d65cc4e352 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
! { 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 AFTER binding_label_tests_26a.f90, which it 
! should be because dejagnu will sort the files.  

module f    ! { dg-error "uses the same global identifier" }
  use fg    ! { dg-error "uses the same global identifier" }
end module

! { dg-final { cleanup-modules "fg f" } }