re PR fortran/13249 (Error when using COMMON)

PR fortran/13249
* gfortran.fortran-torture/compile/name_clash.f90: New test.

From-SVN: r82836
This commit is contained in:
Tobias Schlüter 2004-06-09 15:08:13 +02:00 committed by Tobias Schlüter
parent 62f1d4705d
commit 655948a348
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-06-09 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/13249
* gfortran.fortran-torture/compile/name_clash.f90: New test.
2004-06-09 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/13372

View File

@ -0,0 +1,10 @@
! This is the testcase from PR13249.
! the two different entities named AN_EXAMPLE shouldn't conflict
! the real bug is PR15481, we currently (2004/06/09) work around PR13249
MODULE MOD
INTEGER FOO
END
PROGRAM MAIN
USE MOD
COMMON /FOO/ BAR
END