[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / flang / test / Semantics / implicit06.f90
blob4486d07769d4d5ce3306b6cd0a5326cf2b65d257
1 ! RUN: %python %S/test_errors.py %s %flang_fc1
2 subroutine s1
3 implicit integer(a-c)
4 !ERROR: More than one implicit type specified for 'c'
5 implicit real(c-g)
6 end
8 subroutine s2
9 implicit integer(a-c)
10 implicit real(8)(d)
11 !ERROR: More than one implicit type specified for 'a'
12 implicit integer(f), real(a)
13 end