Debian Codegraph @

gcc/testsuite/gfortran.dg/equiv_constraint_1.f90

raw
1 ! { dg-do compile }
2 ! { dg-options "-std=f95" }
3 ! PR20901 - F95 constrains mixing of types in equivalence.
4 ! Contributed by Joost VandeVondele <[email protected]>
5 character(len=4) :: a
6 integer :: i
7 equivalence(a,i) ! { dg-error "in default CHARACTER EQUIVALENCE statement at" }
8 END
9
10