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
* intrinsic.c: Add EXECUTE_COMMAND_LINE intrinsic.
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
equiv_constraint_4.f90
blob
be9591afbb4cdb724b7b3e1323f9a76d564102b6
1
! { dg-do run }
2
! { dg-options "-O0" }
3
! PR20901 - check that derived/numeric equivalence works with std!=f95.
4
! Contributed by Joost VandeVondele <jv244@cam.ac.uk>
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