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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [use_rename_4.f90] - Blame information for rev 774

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

Line No. Rev Author Line
1 694 jeremybenn
! { 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
    CALL abort ()
21
  END IF
22
END PROGRAM main
23
 
24
! { dg-final { cleanup-modules "m" } }

powered by: WebSVN 2.1.0

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