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
2017-12-08 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
equiv_constraint_1.f90
blob
75c3aa8131a762a85b39149a6bd0d541c820d449
1
! { dg-do compile }
2
! { dg-options "-std=f95" }
3
! PR20901 - F95 constrains mixing of types in equivalence.
4
! Contributed by Joost VandeVondele <jv244@cam.ac.uk>
5
character
(
len
=
4
) ::
a
6
integer
::
i
7
equivalence
(
a
,
i
)
! { dg-error "in default CHARACTER EQUIVALENCE statement at" }
8
END
9
10