llvm-project/flang/test/Semantics/getsymbols04.f90

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
314 B
Fortran
Raw Normal View History

! Tests -fget-symbols-sources with COMMON.
program main
integer :: x
integer :: y
common /x/ y
x = y
end program
! RUN: %flang_fc1 -fget-symbols-sources %s 2>&1 | FileCheck %s
! CHECK:x:{{.*}}getsymbols04.f90, 3, 14-15
! CHECK:x:{{.*}}getsymbols04.f90, 5, 11-12
! CHECK:y:{{.*}}getsymbols04.f90, 4, 14-15