PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gfortran.dg / equiv_constraint_1.f90
blob75c3aa8131a762a85b39149a6bd0d541c820d449
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