summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/open_access_1.f90
blob: 95466177f411cb54f9dc122adcef15cd63120be2 (plain)
1
2
3
4
5
6
! { dg-do compile }

  real :: a
  a = 6.0
  open (unit = 6, file = 'foo', access = a) ! { dg-error "must be of type CHARACTER" }
end