aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gfortran.dg/equiv_constraint_1.f90
blob: 75c3aa8131a762a85b39149a6bd0d541c820d449 (plain)
1
2
3
4
5
6
7
8
9
10
! { dg-do compile }
! { dg-options "-std=f95" }
! PR20901 - F95 constrains mixing of types in equivalence.
! Contributed by Joost VandeVondele <jv244@cam.ac.uk>
 character(len=4) :: a
 integer :: i
 equivalence(a,i) ! { dg-error "in default CHARACTER EQUIVALENCE statement at" }
 END