summaryrefslogtreecommitdiff
path: root/flang/test/Semantics/implicit09.f90
blob: 95bfd4e9e66bb82157992c690af81a6f02f8e76e (plain)
1
2
3
4
5
6
7
8
9
10
11
! RUN: %python %S/test_errors.py %s %flang_fc1 -fimplicit-none-type-never
subroutine s1
  implicit none
  i = j + k  ! would be error without -fimplicit-none-type-never
end

subroutine s2(a, n)
  implicit none
  real :: a(n)  ! would be error without -fimplicit-none-type-never
  integer :: n
end