forked from OSchip/llvm-project
15 lines
381 B
Fortran
15 lines
381 B
Fortran
! Tests -fget-symbols with INCLUDE
|
|
INCLUDE "Inputs/getsymbols03-b.f90"
|
|
|
|
program main
|
|
use mm3
|
|
integer :: x
|
|
x = f
|
|
end program
|
|
|
|
! RUN: %f18 -fget-symbols-sources -fparse-only %s 2>&1 | FileCheck %s
|
|
! CHECK:f:{{.*}}getsymbols03-b.f90, 2, 12-13
|
|
! CHECK:main:{{.*}}getsymbols03-a.f90, 4, 9-13
|
|
! CHECK:mm3:{{.*}}getsymbols03-b.f90, 1, 8-11
|
|
! CHECK:x:{{.*}}getsymbols03-a.f90, 6, 13-14
|