[LoopReroll] Add an extra defensive check to avoid SCEV assertion.
[llvm-project.git] / flang / test / Semantics / getsymbols02.f90
blob32929904fb7a4d9d4cfa27893cec26d4382bd08f
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 -fsyntax-only -fget-symbols-sources %s 2>&1 | FileCheck %s
13 ! CHECK: callget5: .{{[/\\]}}mm2b.mod,
14 ! CHECK: get5: .{{[/\\]}}mm2a.mod,