OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [execute/] [common_2.f90] - Blame information for rev 318

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 303 jeremybenn
! PR fortran/16336 -- the two common blocks used to clash
2
MODULE bar
3
INTEGER :: I
4
COMMON /X/I
5
contains
6
subroutine set_i()
7
i = 5
8
end subroutine set_i
9
END MODULE bar
10
 
11
USE bar
12
INTEGER :: J
13
COMMON /X/J
14
j = 1
15
i = 2
16
if (j.ne.i) call abort()
17
if (j.ne.2) call abort()
18
call set_i()
19
if (j.ne.5) call abort()
20
END

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.