summaryrefslogtreecommitdiff
path: root/flang/test/Semantics/implicit06.f90
blob: 4486d07769d4d5ce3306b6cd0a5326cf2b65d257 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
! RUN: %python %S/test_errors.py %s %flang_fc1
subroutine s1
  implicit integer(a-c)
  !ERROR: More than one implicit type specified for 'c'
  implicit real(c-g)
end

subroutine s2
  implicit integer(a-c)
  implicit real(8)(d)
  !ERROR: More than one implicit type specified for 'a'
  implicit integer(f), real(a)
end