Break circular dependency between FIR dialect and utilities
[llvm-project.git] / flang / test / Semantics / getsymbols03-a.f90
blob95b7fb418367d7b6f47ffe8e99aa1a22c56aa828
1 ! Tests -fget-symbols with INCLUDE
2 INCLUDE "Inputs/getsymbols03-b.f90"
4 program main
5 use mm3
6 integer :: x
7 x = f
8 end program
10 ! RUN: %flang_fc1 -fget-symbols-sources %s 2>&1 | FileCheck %s
11 ! CHECK:f:{{.*}}getsymbols03-b.f90, 2, 12-13
12 ! CHECK:main:{{.*}}getsymbols03-a.f90, 4, 9-13
13 ! CHECK:mm3:{{.*}}getsymbols03-a.f90, 5, 6-9
14 ! CHECK:x:{{.*}}getsymbols03-a.f90, 6, 13-14