[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / flang / test / Semantics / generic02.f90
blobe4f7fe671aae9dc77fb0106a9adef9f31d4a6fc3
1 ! RUN: %python %S/test_errors.py %s %flang_fc1
2 program test
3 interface generic
4 subroutine explicit(n)
5 integer, intent(in) :: n
6 end subroutine
7 procedure implicit
8 end interface
9 !ERROR: Specific procedure 'implicit' of generic interface 'generic' must have an explicit interface
10 external implicit
11 call generic(1)
12 end