[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / flang / test / Semantics / getsymbols02.f90
blob25a4c30809fb29b439f67fc8cfa28676fedd9be1
1 ! Tests -fget-symbols-sources with modules.
3 PROGRAM helloworld
4 use mm2b
5 implicit none
6 integer::i
7 i = callget5()
8 ENDPROGRAM
10 ! RUN: %flang_fc1 -fsyntax-only %S/Inputs/getsymbols02-a.f90
11 ! RUN: %flang_fc1 -fsyntax-only %S/Inputs/getsymbols02-b.f90
12 ! RUN: %flang_fc1 -fget-symbols-sources %s 2>&1 | FileCheck %s
13 ! CHECK: callget5: .{{[/\\]}}mm2b.mod,
14 ! CHECK: get5: .{{[/\\]}}mm2a.mod,