summaryrefslogtreecommitdiff
path: root/flang/test/Semantics/implicit08.f90
blob: 9b42bc2612c406ed603b47cab0d31c53f8a9b621 (plain)
1
2
3
4
5
6
7
! RUN: %python %S/test_errors.py %s %flang_fc1
subroutine s1
  block
    !ERROR: IMPLICIT statement is not allowed in a BLOCK construct
    implicit logical(a)
  end block
end subroutine