2014-07-12 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / binding_label_tests_26b.f90
blobad8426bc2c6f6535a06ef10f266f50d65cc4e352
1 ! { dg-do compile }
3 ! PR 58182: [4.9 Regression] ICE with global binding name used as a FUNCTION
5 ! Contributed by Andrew Bensons <abensonca@gmail.com>
7 ! This file must be compiled AFTER binding_label_tests_26a.f90, which it
8 ! should be because dejagnu will sort the files.
10 module f ! { dg-error "uses the same global identifier" }
11 use fg ! { dg-error "uses the same global identifier" }
12 end module
14 ! { dg-final { cleanup-modules "fg f" } }