summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.fortran-torture/compile/name_clash.f90
blob: 7b8c0c7d1fc521cafe6ad5095749a05d93e4ecd6 (plain)
1
2
3
4
5
6
7
8
9
! This is the testcase from PR13249.
! the two different entities named AN_EXAMPLE shouldn't conflict
  MODULE MOD
  INTEGER FOO
  END
  PROGRAM MAIN
  USE MOD
  COMMON /FOO/ BAR
  END