Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/equiv_constraint_1.f90 @ 128:fe568345ddd5
fix CbC-example
author | mir3636 |
---|---|
date | Wed, 11 Apr 2018 19:32:28 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { 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