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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [equiv_constraint_4.f90] - Blame information for rev 149

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

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do run }
2
! { dg-options "-O0" }
3
! PR20901 - check that derived/numeric equivalence works with std!=f95.
4
! Contributed by Joost VandeVondele 
5
TYPE data_type
6
 SEQUENCE
7
 INTEGER :: I
8
END TYPE data_type
9
INTEGER :: J = 7
10
TYPE(data_type) :: dd
11
EQUIVALENCE(dd,J)
12
if (dd%i.ne.7) call abort ()
13
END
14
 
15
 
16
 

powered by: WebSVN 2.1.0

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