aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/fimplicit_none_1.f90
blob: 997584e0b3d86ef9f41a685e0dd0587212e3c72f (plain)
1
2
3
4
5
6
! { dg-do compile }
! { dg-options "-fimplicit-none" }
subroutine s(n) ! { dg-error "has no IMPLICIT type" }
   character(n) :: c  ! { dg-error "Scalar INTEGER expression expected" }
   c = 'c' ! { dg-error "has no IMPLICIT type" }
end