re PR fortran/16336 (ICE with common block in module)
PR fortran/16336 * gfortran.fortran-torture/execute/common_2.f90: New test. From-SVN: r84478
This commit is contained in:
parent
331c72f3db
commit
a53334a410
2 changed files with 19 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-07-10 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
|
||||
|
||||
PR fortran/16336
|
||||
* gfortran.fortran-torture/execute/common_2.f90: New test.
|
||||
|
||||
2004-07-10 Paul Brook <paul@codesourcery.com>
|
||||
|
||||
* gfortran.fortran-torture/execute/der_init_5.f90: Enable more tests.
|
||||
|
|
14
gcc/testsuite/gfortran.fortran-torture/execute/common_2.f90
Normal file
14
gcc/testsuite/gfortran.fortran-torture/execute/common_2.f90
Normal file
|
@ -0,0 +1,14 @@
|
|||
! PR fortran/16336 -- the two common blocks used to clash
|
||||
MODULE bar
|
||||
INTEGER :: I
|
||||
COMMON /X/I
|
||||
END MODULE bar
|
||||
|
||||
USE bar
|
||||
INTEGER :: J
|
||||
COMMON /X/J
|
||||
j = 1
|
||||
i = 2
|
||||
if (j.ne.i) call abort()
|
||||
if (j.ne.2) call abort()
|
||||
END
|
Loading…
Add table
Reference in a new issue