summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/equiv_5.f90
blob: 70b458bea61379edeac43af4f0f112bb83c2f2dc (plain)
1
2
3
4
5
6
7
! { dg-do compile }
! PR fortran/25078
! An equivalence statement requires two or more objcets.
program a
  real x
  equivalence(x) ! { dg-error "two or more objects" }
end program a