repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
re PR fortran/78741 (ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1534)
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
use_rename_4.f90
blob
d98d6542444c866ab88c528dfdec27667f839911
1
! { dg-do run }
2
3
! PR fortran/37193
4
! Check fix for problem with re-using the same symbol both renamed and
5
! plain.
6
7
MODULE
m
8
IMPLICIT NONE
9
INTEGER
::
i
10
END MODULE
m
11
12
PROGRAM
main
13
USE
m
,
ONLY
:
i
,
j
=>
i
14
IMPLICIT NONE
15
16
i
=
4
17
j
=
5
18
19
IF
(
i
/=
j
)
THEN
20
STOP
1
21
END IF
22
END PROGRAM
main