1! RUN: %S/test_errors.sh %s %t %flang_fc1
2! REQUIRES: shell
3subroutine s1
4  implicit integer(a-c)
5  !ERROR: More than one implicit type specified for 'c'
6  implicit real(c-g)
7end
8
9subroutine s2
10  implicit integer(a-c)
11  implicit real(8)(d)
12  !ERROR: More than one implicit type specified for 'a'
13  implicit integer(f), real(a)
14end
15