OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gfortran.dg/] [use_11.f90] - Blame information for rev 384

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do run }
2
! Test the fix for a regression caused by the fix for PR33541,
3
! in which the second local version of a would not be associated.
4
!
5
! Contributed by Dominique d'Humieres 
6
!            and Tobias Burnus 
7
!
8
module m
9
  integer :: a
10
end module m
11
 
12
use m, local1 => a
13
use m, local2 => a
14
local1 = 5
15
local2 = 3
16
if (local1 .ne. local2) call abort ()
17
end
18
! { dg-final { cleanup-modules "test" } }

powered by: WebSVN 2.1.0

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